Skip to content

Commit

Permalink
chore: updated Github action to reflect new devenv structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Rekkice committed Jan 14, 2025
1 parent 55ece07 commit 8211338
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/mix-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./tololo

steps:
- uses: actions/checkout@v4

- uses: nixbuild/nix-quick-install-action@v29

- uses: DeterminateSystems/magic-nix-cache-action@v2
# - uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Install devenv.sh
run: nix profile install nixpkgs#devenv
Expand Down Expand Up @@ -49,6 +52,6 @@ jobs:
${{ runner.os }}-mix-
- name: Run `mix format`
working-directory: ./tololo
run: devenv shell
run: devenv tasks run mix:format

1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ jobs:
${{ runner.os }}-mix-
- name: Build the devenv shell and run tests
working-directory: ./tololo
run: devenv test

0 comments on commit 8211338

Please sign in to comment.