Elixir Snyk #199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Elixir Snyk | |
on: | |
schedule: | |
- cron: '0 0 * * 1' | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
env: | |
ELIXIR_VERSION: '1.15.x' | |
OTP_VERSION: '26.x' | |
jobs: | |
snyk: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: snyk/actions/setup@master | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ env.ELIXIR_VERSION }} | |
otp-version: ${{ env.OTP_VERSION }} | |
- name: Run Snyk to check for vulnerabilities | |
run: snyk monitor | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |