ci: update install-nix-action to v12
This fixes the `Unable to process command '::add-path::/nix/var/nix/profiles/per-user/runner/profile/bin' successfully.` errors (this was deprecated by GitHub). Also fix alignment, to ease copy-pasting.
This commit is contained in:
parent
d39605727d
commit
6c13d402fb
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -9,18 +9,22 @@ jobs:
|
||||||
pedantry:
|
pedantry:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v9
|
uses: cachix/install-nix-action@v12
|
||||||
- name: Cargo Pedantry
|
with:
|
||||||
run: nix-shell --run checkPhase -A mozilla-rust-overlay
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
- name: Cargo Pedantry
|
||||||
|
run: nix-shell --run checkPhase -A mozilla-rust-overlay
|
||||||
|
|
||||||
checkPhase:
|
checkPhase:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v9
|
uses: cachix/install-nix-action@v12
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
- name: Set up git
|
- name: Set up git
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "ofborg@example.com"
|
git config --global user.email "ofborg@example.com"
|
||||||
|
@ -33,6 +37,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v9
|
uses: cachix/install-nix-action@v12
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
- name: nix-build
|
- name: nix-build
|
||||||
run: nix-build -A ofborg.rs -A ofborg.php
|
run: nix-build -A ofborg.rs -A ofborg.php
|
||||||
|
|
Loading…
Reference in a new issue