From 288f73f68213e3c6f3b6269df9cd1d70feb7dae3 Mon Sep 17 00:00:00 2001 From: Mark Newman Date: Fri, 23 Feb 2024 13:42:05 +0000 Subject: [PATCH] ci: update github actions --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c2d709..006f038 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: container: image: joinself/license-finder:go steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: License check shell: bash run: | @@ -22,7 +22,7 @@ jobs: image: zricethezav/gitleaks:v8.2.4 options: --entrypoint "" --user root steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Secret scan shell: bash run: gitleaks detect -c ./.github/gitleaks.toml --redact -v @@ -32,7 +32,7 @@ jobs: container: image: golang:1.19.1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Build packages shell: bash run: | @@ -41,7 +41,7 @@ jobs: GOOS=darwin GOARCH=arm64 go build -o self-cli-darwin-arm64 GOOS=windows GOARCH=amd64 go build -o self-cli-windows-amd64 - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: artifacts path: self-cli-* @@ -51,8 +51,8 @@ jobs: needs: [license-compliance, secret-scan, build] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: artifacts - name: Bump version and push tag