From a42a89ec732bfcd8c351b31eb5db0b805d5483fc Mon Sep 17 00:00:00 2001 From: 21CSM <81891917+21CSM@users.noreply.github.com> Date: Sat, 14 Sep 2024 00:38:44 -0400 Subject: [PATCH] ci: pin action versions --- .github/dependabot.yml | 8 ++++++++ .github/workflows/publish.yml | 12 ++++++------ .github/workflows/update-flake-lock.yml | 10 +++++----- 3 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..a485a4b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + commit-message: + prefix: "ci" \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index eefa9a5..23f5ae3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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 @@ -50,5 +50,5 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@main + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/update-flake-lock.yml b/.github/workflows/update-flake-lock.yml index a7f8bad..f00db08 100644 --- a/.github/workflows/update-flake-lock.yml +++ b/.github/workflows/update-flake-lock.yml @@ -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