Skip to content

Commit

Permalink
ci: enable (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy authored Jun 4, 2024
1 parent 0cadb33 commit e77f8ca
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI
on:
pull_request:
push:

jobs:
main:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- elixir: '1.16'
otp: '26.2.5'
lint: true
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- 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 }}
- run: mix test

0 comments on commit e77f8ca

Please sign in to comment.