mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 12:09:08 +00:00
github actions: Add golangci-lint
This commit is contained in:
parent
ea6b999c69
commit
f49e99e02f
1 changed files with 10 additions and 0 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -19,6 +19,16 @@ jobs:
|
|||
- name: Check format
|
||||
run: nix-shell --run 'nixpkgs-fmt --check .'
|
||||
|
||||
golangci-lint:
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
- name: Check format
|
||||
run: nix-shell --run 'golangci-lint run'
|
||||
|
||||
gomod2nix_toml:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue