Update .github/workflows/main.yml
Some checks failed
update-flake-lock / lockfile (push) Failing after 32s

Testing
This commit is contained in:
sora 2023-11-14 16:55:09 +01:00
parent 199f6972c2
commit bfa8cab66c

View File

@ -1,26 +1,25 @@
name: update-flake-lock name: update-flake-lock
on: on:
workflow_dispatch: # allows manual triggering workflow_dispatch: # allows manual triggering
schedule: schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00 - cron: '0 * * * *' # runs weekly on Sunday at 00:00 ... 0 0 * * 0
jobs: jobs:
lockfile: lockfile:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@v16 uses: cachix/install-nix-action@v16
with: with:
extra_nix_config: | extra_nix_config: |
auto-optimise-store = true auto-optimise-store = true
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} experimental-features = nix-command flakes
experimental-features = nix-command flakes - name: Update flake.lock
- name: Update flake.lock uses: DeterminateSystems/update-flake-lock@v16
uses: DeterminateSystems/update-flake-lock@v16 with:
with: pr-title: "[chore] Update flake.lock"
pr-title: "[chore] Update flake.lock" # Title of PR to be created pr-labels: |
pr-labels: | # Labels to be set on the PR dependencies
dependencies automated
automated