Skip to content

Commit

Permalink
Merge pull request #1 from mimiquate/ci
Browse files Browse the repository at this point in the history
ci: configure Github Actions
  • Loading branch information
grzuy authored Feb 2, 2024
2 parents ffac0ea + 47c9d76 commit ad2fc5c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI
on:
pull_request:
push:

jobs:
main:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- elixir_version: 1.16.1
otp_version: '26.2.1'
lint: true
- elixir_version: 1.15.7
otp_version: '25.3.2.8'
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp_version}}
elixir-version: ${{matrix.elixir_version}}
- run: mix deps.get --check-locked
- run: mix format --check-formatted
if: ${{ matrix.lint }}
- run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}
- run: mix deps.compile
- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
# TODO
# - run: mix test

0 comments on commit ad2fc5c

Please sign in to comment.