ci: use our cacher action (#532)
* ci: use our cacher action * ci: drop unnecessary `with: github-token` Co-authored-by: Graham Christensen <graham@grahamc.com> * ci: pin cacher action to v1 --------- Co-authored-by: Graham Christensen <graham@grahamc.com>
This commit is contained in:
parent
4bfd6c2547
commit
9baee72ef7
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
|
@ -18,22 +18,15 @@ jobs:
|
|||
check-outdated: false # PRs shouldn't fail because main's nixpkgs is out of date
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Cache lint store (x86_64-linux)
|
||||
id: lint-store-x86_64-linux
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ci-store
|
||||
key: lint-store-x86_64-linux-${{ hashFiles('**/Cargo.lock', '**/flake.lock') }}-v1
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v1
|
||||
- name: Check rustfmt
|
||||
run: nix develop --store ~/.ci-store --command check-rustfmt
|
||||
run: nix develop --command check-rustfmt
|
||||
- name: Check Spelling
|
||||
run: nix develop --store ~/.ci-store --command check-spelling
|
||||
run: nix develop --command check-spelling
|
||||
- name: Check nixpkgs-fmt formatting
|
||||
run: nix develop --store ~/.ci-store --command check-nixpkgs-fmt
|
||||
run: nix develop --command check-nixpkgs-fmt
|
||||
- name: Check EditorConfig conformance
|
||||
run: nix develop --store ~/.ci-store --command check-editorconfig
|
||||
run: nix develop --command check-editorconfig
|
||||
- name: Download Buildkite Artifacts
|
||||
uses: EnricoMi/download-buildkite-artifact-action@v1.14
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue