Skip to content

Commit

Permalink
Use nix develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lloeki committed Oct 22, 2024
1 parent 883468f commit aebdbd1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ jobs:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix-shell --run 'which ruby'
- run: nix-shell --run 'ruby --version'
- name: Print ruby version
run: |
nix-shell --run 'which ruby'
nix-shell --run 'ruby --version'
nix develop --command which ruby
nix develop --command ruby --version
- name: Bundle install
run: nix-shell --run 'bundle install'
run: nix develop --command bundle install
- name: Run spec:main
run: nix-shell --run 'bundle exec rake spec:main'
run: nix develop --command bundle exec rake spec:main

0 comments on commit aebdbd1

Please sign in to comment.