Skip to content

Commit

Permalink
ci: pin action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
21CSM committed Sep 14, 2024
1 parent 6f3ad6b commit a42a89e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "ci"
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check flake health
uses: DeterminateSystems/flake-checker-action@main
uses: DeterminateSystems/flake-checker-action@v9
with:
fail-mode: true

Expand All @@ -25,18 +25,18 @@ jobs:
needs: flake-health-check
steps:
- name: Checkout
uses: actions/checkout@main
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
uses: DeterminateSystems/nix-installer-action@v14
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Build with Nix
run: |
nix build '.?submodules=1#'
- name: Upload artifact
uses: actions/upload-pages-artifact@main
uses: actions/upload-pages-artifact@v3
with:
path: ./result

Expand All @@ -50,5 +50,5 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@main
uses: actions/deploy-pages@v4

10 changes: 5 additions & 5 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@main
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
uses: DeterminateSystems/nix-installer-action@v14
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Check flake health
uses: DeterminateSystems/flake-checker-action@main
uses: DeterminateSystems/flake-checker-action@v9
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
uses: DeterminateSystems/update-flake-lock@v24
with:
commit-msg: "build(nix): update flake.lock"
pr-assignees: 21CSM
Expand Down

0 comments on commit a42a89e

Please sign in to comment.