more ci stuff 2
Some checks failed
Plex Update / update (push) Successful in 1m26s
Lint / lint (push) Failing after 13s

This commit is contained in:
Vivian 2023-09-09 10:55:05 +02:00
parent 78230a3b0a
commit a127b341c3
3 changed files with 16 additions and 6 deletions

View file

@ -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 .

View file

@ -1,6 +1,6 @@
name: Nix
on: [push]
# on: [push]
jobs:
lint:

View file

@ -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 }}