SYB 018/upgrade to 1.15.7 #76
Workflow file for this run
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: Sibyl | CI checks | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ci-${{github.ref}} | |
cancel-in-progress: true | |
jobs: | |
lint-and-test: | |
env: | |
ELIXIR_VERSION: 1.12.3 | |
OTP_VERSION: 24.2 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Github repo | |
uses: actions/[email protected] | |
- name: Setup BEAM Env | |
uses: erlef/[email protected] | |
with: | |
otp-version: ${{ env.OTP_VERSION }} | |
elixir-version: ${{ env.ELIXIR_VERSION }} | |
- name: Setup Cache | |
uses: actions/[email protected] | |
id: mix-cache | |
with: | |
path: | | |
deps | |
_build | |
priv/plts | |
key: ${{ hashFiles('mix.lock') }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }} | |
- if: steps.mix-cache.outputs.cache-hit != 'true' | |
run: mkdir -p priv/plts; mix deps.get; mix deps.compile | |
- run: mix lint | |
- run: mix test |