From 2e910af78378b1d87c3af6eb8aeeefd3c6684bf9 Mon Sep 17 00:00:00 2001 From: Henri Rosten Date: Mon, 7 Oct 2024 13:45:23 +0300 Subject: [PATCH] Update github action dependencies Signed-off-by: Henri Rosten --- .github/workflows/check-commit-message.yaml | 2 +- .github/workflows/release_sbomnix.yml | 6 +++--- .github/workflows/test_sbomnix.yml | 10 ++++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-commit-message.yaml b/.github/workflows/check-commit-message.yaml index 5c8577e..f84c54b 100644 --- a/.github/workflows/check-commit-message.yaml +++ b/.github/workflows/check-commit-message.yaml @@ -15,7 +15,7 @@ jobs: commit-msg: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.2.0 - name: Check Commit Message env: GITHUB_CONTEXT: ${{ toJson(github) }} diff --git a/.github/workflows/release_sbomnix.yml b/.github/workflows/release_sbomnix.yml index b0460fb..652a8cf 100644 --- a/.github/workflows/release_sbomnix.yml +++ b/.github/workflows/release_sbomnix.yml @@ -11,14 +11,14 @@ on: - 'v*' jobs: - build: + build: name: Upload Release Asset runs-on: ubuntu-latest permissions: contents: write steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v22 + - uses: actions/checkout@v4.2.0 + - uses: cachix/install-nix-action@v30 with: nix_path: nixpkgs=channel:nixpkgs-unstable - name: Build release asset diff --git a/.github/workflows/test_sbomnix.yml b/.github/workflows/test_sbomnix.yml index 91f630a..b3412a4 100644 --- a/.github/workflows/test_sbomnix.yml +++ b/.github/workflows/test_sbomnix.yml @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -name: Test sbomnix +name: Test sbomnix on: push: @@ -16,11 +16,13 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v22 + - uses: actions/checkout@v4.2.0 + - uses: cachix/install-nix-action@v30 with: nix_path: nixpkgs=channel:nixpkgs-unstable - - name: Make sure nix-build works + - name: Ensure nix-build works run: nix-build '' -A hello + - name: Print nix version + run: nix --version - name: Run sbomnix CI tests run: nix develop --command make test-ci