Merge pull request #29 from DeterminateSystems/DS-970
DS-970: Add Magic Nix Cache and other workflow changes
This commit is contained in:
commit
8f7cfe5b15
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
|
@ -11,9 +11,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: DeterminateSystems/flake-checker-action@v4
|
- uses: DeterminateSystems/flake-checker-action@main
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@v4
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
|
@ -34,9 +34,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: DeterminateSystems/flake-checker-action@v4
|
- uses: DeterminateSystems/flake-checker-action@main
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@v4
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
|
|
7
.github/workflows/checks.yaml
vendored
7
.github/workflows/checks.yaml
vendored
|
@ -12,15 +12,14 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@v4
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
- name: Check health of flake.lock
|
- name: Check health of flake.lock
|
||||||
uses: DeterminateSystems/flake-checker-action@v4
|
uses: DeterminateSystems/flake-checker-action@main
|
||||||
with:
|
with:
|
||||||
fail-mode: true
|
fail-mode: true
|
||||||
|
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
||||||
|
|
||||||
- name: Check Rust formatting
|
- name: Check Rust formatting
|
||||||
run: nix develop --command cargo fmt --check
|
run: nix develop --command cargo fmt --check
|
||||||
|
|
||||||
|
|
1
.github/workflows/keygen.yaml
vendored
1
.github/workflows/keygen.yaml
vendored
|
@ -8,6 +8,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Expose GitHub Runtime
|
- name: Expose GitHub Runtime
|
||||||
uses: crazy-max/ghaction-github-runtime@v2
|
uses: crazy-max/ghaction-github-runtime@v2
|
||||||
- name: Dump credentials
|
- name: Dump credentials
|
||||||
|
|
Loading…
Reference in a new issue