Skip to content

Commit

Permalink
Update github action dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Henri Rosten <[email protected]>
  • Loading branch information
henrirosten committed Oct 8, 2024
1 parent 5dce172 commit 2e910af
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-commit-message.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_sbomnix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test_sbomnix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0

name: Test sbomnix
name: Test sbomnix

on:
push:
Expand All @@ -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 '<nixpkgs>' -A hello
- name: Print nix version
run: nix --version
- name: Run sbomnix CI tests
run: nix develop --command make test-ci

0 comments on commit 2e910af

Please sign in to comment.