Auth to GitHub (#48)

This commit is contained in:
Patrick Stevens
2022-12-27 22:01:33 +00:00
committed by GitHub
parent 1bd7e2971d
commit beec3fb244

View File

@@ -40,6 +40,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v17
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Build
run: nix build
- name: Run app
@@ -66,6 +69,9 @@ jobs:
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v17
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Run Alejandra
run: nix develop --command alejandra --check .
@@ -77,6 +83,9 @@ jobs:
name: Checkout
- name: Install Nix
uses: cachix/install-nix-action@v17
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Run ShellCheck
run: nix shell 'nixpkgs#shellcheck' --command bash -c "find . -type f -name '*.sh' | xargs shellcheck"
@@ -87,6 +96,9 @@ jobs:
- uses: actions/checkout@master
- name: Install Nix
uses: cachix/install-nix-action@v17
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Run link checker
run: nix shell 'nixpkgs#nodePackages.markdown-link-check' --command markdown-link-check README.md