mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-04 17:49:08 +00:00
Github actions: Bump install-nix-action
This commit is contained in:
parent
c6bc2d55a2
commit
219f2b41a1
1 changed files with 6 additions and 6 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -14,8 +14,8 @@ jobs:
|
|||
env:
|
||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"
|
||||
steps:
|
||||
- uses: cachix/install-nix-action@v12
|
||||
- uses: actions/checkout@v1
|
||||
- uses: cachix/install-nix-action@v17
|
||||
- uses: actions/checkout@v3
|
||||
- name: Check format
|
||||
run: nix-shell --run 'nixpkgs-fmt --check .'
|
||||
|
||||
|
@ -24,8 +24,8 @@ jobs:
|
|||
env:
|
||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"
|
||||
steps:
|
||||
- uses: cachix/install-nix-action@v12
|
||||
- uses: actions/checkout@v1
|
||||
- uses: cachix/install-nix-action@v17
|
||||
- uses: actions/checkout@v3
|
||||
- name: Check format
|
||||
run: nix-shell --run 'golangci-lint run'
|
||||
|
||||
|
@ -34,8 +34,8 @@ jobs:
|
|||
env:
|
||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"
|
||||
steps:
|
||||
- uses: cachix/install-nix-action@v12
|
||||
- uses: actions/checkout@v1
|
||||
- uses: cachix/install-nix-action@v17
|
||||
- uses: actions/checkout@v3
|
||||
- name: "Build gomod2nix"
|
||||
run: nix-shell --run "go build"
|
||||
- name: Run gomod2nix
|
||||
|
|
Loading…
Reference in a new issue