From ec52432ec91954cd276c61d6e2ee911eebf69167 Mon Sep 17 00:00:00 2001 From: Jeroen Bobbeldijk Date: Tue, 20 Feb 2024 11:24:17 +0100 Subject: [PATCH] Update actions --- .github/workflows/go.yml | 12 ++++++------ .github/workflows/release.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3cb6410..9c9893e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,17 +15,17 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - go: [1.22] + os: ["ubuntu-latest", "macos-latest", "windows-latest"] + go: ["1.22"] runs-on: ${{ matrix.os }} steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: - go-version: 1.19 - - uses: actions/checkout@v3 + go-version: ${{ matrix.go }} + - uses: actions/checkout@v4 - name: Build run: go build -v . - name: Test run: go test -v . - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8997f50..e56955f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,14 +9,14 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - go: [1.22] + os: ["ubuntu-latest", "macos-latest", "windows-latest"] + go: ["1.22"] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Build Linux @@ -31,11 +31,11 @@ jobs: if: matrix.os == 'windows-latest' run: | go build -o artifacts/keda-celery-scaler-windows-x64 main.go - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: builds path: artifacts - - uses: AButler/upload-release-assets@v2.0 + - uses: AButler/upload-release-assets@v3.0 with: files: "artifacts/*" repo-token: ${{ secrets.GITHUB_TOKEN }}