Github actions: Bump install-nix-action

This commit is contained in:
adisbladis 2022-06-14 17:58:17 +08:00
parent c6bc2d55a2
commit 219f2b41a1

View file

@ -14,8 +14,8 @@ jobs:
env: env:
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz" NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"
steps: steps:
- uses: cachix/install-nix-action@v12 - uses: cachix/install-nix-action@v17
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- name: Check format - name: Check format
run: nix-shell --run 'nixpkgs-fmt --check .' run: nix-shell --run 'nixpkgs-fmt --check .'
@ -24,8 +24,8 @@ jobs:
env: env:
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz" NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"
steps: steps:
- uses: cachix/install-nix-action@v12 - uses: cachix/install-nix-action@v17
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- name: Check format - name: Check format
run: nix-shell --run 'golangci-lint run' run: nix-shell --run 'golangci-lint run'
@ -34,8 +34,8 @@ jobs:
env: env:
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz" NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"
steps: steps:
- uses: cachix/install-nix-action@v12 - uses: cachix/install-nix-action@v17
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- name: "Build gomod2nix" - name: "Build gomod2nix"
run: nix-shell --run "go build" run: nix-shell --run "go build"
- name: Run gomod2nix - name: Run gomod2nix