Skip to content

Commit

Permalink
update ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Apr 26, 2024
1 parent dedc79e commit 16fd7e7
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,26 @@ name: test
on:
push:
branches:
- master
- main
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
- uses: actions/checkout@v4
with:
otp-version: "25.1"
elixir-version: "1.13.1"
gleam-version: "0.34.0"
rebar3-version: "3"
- run: gleam test
- run: gleam test --target javascript
- run: gleam format --check src test
submodules: 'recursive'
- uses: cachix/install-nix-action@v26
- uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Ensure flake.lock was committed
run: ls flake.lock
- run: nix flake check -L
- run: nix build -L
- run: glistix deps download
shell: nix develop --command bash -e {0}
- run: glistix test --target nix
shell: nix develop --command bash -e {0}
- run: glistix format --check src test
shell: nix develop --command bash -e {0}

0 comments on commit 16fd7e7

Please sign in to comment.