Skip to content

Commit

Permalink
Update deprecated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sigio committed Nov 6, 2024
1 parent 5ba490f commit 1de2a34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
build:
runs-on: ubuntu-latest
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: 1.16

- name: Build
run: go build -v -o publish/coronacheck-hcert ./

- name: Publish archive with artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: publish-folder
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.16
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.16

Expand All @@ -29,7 +29,7 @@ jobs:
run: cd release && tar -czf ../coronacheck_hcert_${{ env.RELEASE_VERSION }}.tar.gz ./

- name: Upload release tar
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: coronacheck_hcert_${{ env.RELEASE_VERSION }}
path: coronacheck_hcert_${{ env.RELEASE_VERSION }}.tar.gz

0 comments on commit 1de2a34

Please sign in to comment.