-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from mobusoperandi/nix-21
nix via inputs and bump to 1.21
- Loading branch information
Showing
10 changed files
with
104 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,56 +11,28 @@ jobs: | |
runs-on: ${{ matrix.runner }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: cache | ||
uses: FrancisRussell/[email protected] | ||
with: | ||
command: cache | ||
- name: toolchain | ||
uses: FrancisRussell/[email protected] | ||
with: | ||
command: install-rustup | ||
toolchain: stable | ||
- name: install Nix | ||
uses: cachix/install-nix-action@v23 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- name: test | ||
uses: FrancisRussell/[email protected] | ||
with: | ||
command: cargo test | ||
run: nix develop --command cargo test | ||
|
||
clippy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: cache | ||
uses: FrancisRussell/[email protected] | ||
with: | ||
command: cache | ||
- name: toolchain | ||
uses: FrancisRussell/[email protected] | ||
with: | ||
command: install-rustup | ||
toolchain: stable | ||
components: clippy | ||
- name: test | ||
uses: FrancisRussell/[email protected] | ||
with: | ||
command: cargo clippy | ||
args: --all-targets -- --deny warnings | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- name: clippy | ||
run: nix develop --command cargo clippy --all-targets -- --deny warnings | ||
|
||
fmt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: toolchain | ||
uses: FrancisRussell/[email protected] | ||
with: | ||
command: install-rustup | ||
toolchain: stable | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- name: fmt | ||
uses: FrancisRussell/[email protected] | ||
with: | ||
command: cargo fmt | ||
args: --check | ||
run: nix develop --command cargo fmt --check | ||
|
||
release: | ||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters