Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jerbob92 committed Feb 20, 2024
1 parent c135184 commit ec52432
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit ec52432

Please sign in to comment.