fix ci #200
3 changed files with 16 additions and 6 deletions
|
@ -1,10 +1,20 @@
|
|||
name: Lint
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: native
|
||||
runs-on: docker
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: statix check .
|
||||
- run: deadnix -f
|
||||
- run: yamllint .
|
||||
- uses: https://github.com/cachix/install-nix-action@v20
|
||||
env:
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- run: |
|
||||
nix profile install 'nixpkgs#deadnix' 'nixpkgs#statix' 'nixpkgs#yamllint'
|
||||
statix check .
|
||||
deadnix -f
|
||||
yamllint .
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: Nix
|
||||
|
||||
on: [push]
|
||||
# on: [push]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: https://github.com/cachix/install-nix-action@v20
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstabl
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- env:
|
||||
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
|
||||
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue