From 3e7e1d7b51a8716c22df89461b0c5846cf5a2090 Mon Sep 17 00:00:00 2001 From: cpanato Date: Mon, 13 Nov 2023 18:16:51 +0100 Subject: [PATCH] update zeitgeist to v0.4.3 Signed-off-by: cpanato --- .github/workflows/test-setup-zeitgeist.yml | 2 +- publish-release/action.yaml | 11 ++++------- setup-zeitgeist/action.yml | 14 +++++++------- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test-setup-zeitgeist.yml b/.github/workflows/test-setup-zeitgeist.yml index 02e8901..4ab0ecf 100644 --- a/.github/workflows/test-setup-zeitgeist.yml +++ b/.github/workflows/test-setup-zeitgeist.yml @@ -72,8 +72,8 @@ jobs: matrix: os: [macos-latest, ubuntu-latest, windows-latest] go_version: - - '1.19' - '1.20' + - '1.21' name: Try to install zeitgeist with go ${{ matrix.go_version }} steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 diff --git a/publish-release/action.yaml b/publish-release/action.yaml index f6872c3..cae39a1 100644 --- a/publish-release/action.yaml +++ b/publish-release/action.yaml @@ -24,19 +24,16 @@ inputs: description: "Assets to upload to the release page (see readme)." type: string required: false - draft: description: "Mark the release as draft" type: boolean required: false default: false - - sbom: + sbom: description: "Generate an SBOM from the code" type: boolean required: false default: true - template: description: "Release template file" required: false @@ -61,17 +58,17 @@ runs: # Go is required to compute dependencies - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v3.3.0 with: - go-version: '1.20' + go-version: '1.21' check-latest: true - shell: bash run: | #!/usr/bin/env bash - + if [ "${{ inputs.draft }}" = "true" ]; then draft="--draft" fi - + IFS='|' read -r -a assets <<< "${{ inputs.assets }}"; publish-release github \ diff --git a/setup-zeitgeist/action.yml b/setup-zeitgeist/action.yml index 198a471..e78df3f 100644 --- a/setup-zeitgeist/action.yml +++ b/setup-zeitgeist/action.yml @@ -23,7 +23,7 @@ inputs: zeitgeist-release: description: 'zeitgeist release version to be installed' required: false - default: '0.4.1' + default: '0.4.3' install-dir: description: 'Where to install the zeitgeist binary' required: false @@ -71,15 +71,15 @@ runs: Linux) case ${{ runner.arch }} in X64) - desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_linux_amd64' + desired_zeitgeist_filename='zeitgeist-amd64-linux' ;; ARM) - desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_linux_arm' + desired_zeitgeist_filename='zeitgeist-arm-linux' ;; ARM64) - desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_linux_arm64' + desired_zeitgeist_filename='zeitgeist-arm64-linux' ;; *) @@ -92,11 +92,11 @@ runs: macOS) case ${{ runner.arch }} in X64) - desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_darwin_amd64' + desired_zeitgeist_filename='zeitgeist-amd64-darwin' ;; ARM64) - desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_darwin_arm64' + desired_zeitgeist_filename='zeitgeist-arm64-darwin' ;; *) @@ -109,7 +109,7 @@ runs: Windows) case ${{ runner.arch }} in X64) - desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_windows_amd64.exe' + desired_zeitgeist_filename='zeitgeist-amd64-windows.exe' zeitgeist_executable_name=zeitgeist.exe ;; *)