Skip to content

Commit

Permalink
Pin actions to a full length commit SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
wagdav committed May 19, 2024
1 parent 09ebd6a commit a56af77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# yamllint disable rule:line-length
---
name: "Build and deploy site"
on: # yamllint disable-line rule:truthy
Expand All @@ -7,11 +8,11 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/nix-installer-action@8cdf194da984e4f12b2f8c36d1fa107c1dd67f5c # v11
- uses: DeterminateSystems/magic-nix-cache-action@87e8236f46702ab0ce5a058b605a173ec88d618e # v6
- run: nix-build -A checks.x86_64-linux
- run: |
scripts/publish.sh
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# yamllint disable rule:line-length
---
name: update-flake-lock
on: # yamllint disable-line rule:truthy
Expand All @@ -9,6 +10,6 @@ jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/update-flake-lock@v21
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: DeterminateSystems/nix-installer-action@8cdf194da984e4f12b2f8c36d1fa107c1dd67f5c # v11
- uses: DeterminateSystems/update-flake-lock@a3ccb8f59719c48d6423e97744560221bcf7a3fa # v21

0 comments on commit a56af77

Please sign in to comment.