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 name: Lint
on: [push]
jobs: jobs:
lint: lint:
runs-on: native runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:js-20.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: statix check . - uses: https://github.com/cachix/install-nix-action@v20
- run: deadnix -f env:
- run: yamllint . 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 name: Nix
on: [push] # on: [push]
jobs: jobs:
lint: lint:

View file

@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: https://github.com/cachix/install-nix-action@v20 - uses: https://github.com/cachix/install-nix-action@v20
with: with:
nix_path: nixpkgs=channel:nixos-unstabl nix_path: nixpkgs=channel:nixos-unstable
- env: - env:
VAULT_ADDR: ${{ secrets.VAULT_ADDR }} VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }} VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}