readme #2
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: Verify Security | |
on: pull_request | |
jobs: | |
security: | |
name: Check Security | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
elixir: [1.14.3] | |
otp: [25] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-elixir@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
- uses: actions/cache@v1 | |
id: mix-cache-security | |
with: | |
path: deps | |
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
- name: Install Mix Dependencies | |
if: steps.mix-cache-security.outputs.cache-hit != 'true' | |
run: mix deps.get | |
- name: ==> SECURITY | |
run: mix sobelow --config |