Skip to content

Commit

Permalink
Move from CircleCI to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
derekkraan committed Sep 29, 2023
1 parent 531f3e8 commit 8b05170
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .circleci/config.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on: push

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
elixir-version: [1.15, 1.14, 1.13]
otp-version: [26, 25, 24]
name: Tests
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir-version }}
otp-version: ${{ matrix.otp-version }}

- run: mix deps.get

- run: mix compile --warnings-as-errors

- run: mix format --check-formatted
if: ${{ matrix.elixir-version == 1.15 && matrix.otp-version == 26 }}

- run: mix test

0 comments on commit 8b05170

Please sign in to comment.