diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-27 07:49:56 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-27 07:49:56 -0800 |
| commit | 6d59b5676c48e738f49e1bad94bbe4e438942750 (patch) | |
| tree | ebcf17de14282d1c0f63c6312271b1d6e5e89f74 | |
| parent | remove configuration file for treefmt (diff) | |
| download | fcuny.net-6d59b5676c48e738f49e1bad94bbe4e438942750.tar.gz | |
update some of the workflows
| -rw-r--r-- | .github/workflows/check-links.yml (renamed from .github/workflows/check-links.yaml) | 0 | ||||
| -rw-r--r-- | .github/workflows/flake-checker.yml | 19 | ||||
| -rw-r--r-- | .github/workflows/flake-updater.yml (renamed from .github/workflows/update.yml) | 17 |
3 files changed, 25 insertions, 11 deletions
diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yml index 97ddc8a..97ddc8a 100644 --- a/.github/workflows/check-links.yaml +++ b/.github/workflows/check-links.yml diff --git a/.github/workflows/flake-checker.yml b/.github/workflows/flake-checker.yml new file mode 100644 index 0000000..d5cb05a --- /dev/null +++ b/.github/workflows/flake-checker.yml @@ -0,0 +1,19 @@ +name: ❄️ Flake Checker + +on: + push: + branches: + - master + schedule: + - cron: '42 0 * * 6' + workflow_dispatch: + +jobs: + flake-checker: + name: Flake Checker + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@v14 + - uses: DeterminateSystems/magic-nix-cache-action@v8 + - uses: DeterminateSystems/flake-checker-action@v9 diff --git a/.github/workflows/update.yml b/.github/workflows/flake-updater.yml index af05bdf..dde25ee 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/flake-updater.yml @@ -1,24 +1,19 @@ -name: "Update flake.lock" +name: ❄️ Flake Lock Updater + on: workflow_dispatch: schedule: - cron: "30 5 * * 0" + # you need to grant permissions to create PR: # https://github.com/DeterminateSystems/update-flake-lock/issues/75 jobs: update-flake-lock: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Install Nix - uses: cachix/install-nix-action@V27 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - name: Update flake.lock - id: update-flake-lock - uses: DeterminateSystems/update-flake-lock@v23 + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@v14 + - uses: DeterminateSystems/update-flake-lock@v24 with: pr-title: "Update flake.lock" commit-msg: "chore: update flake" |
