Skip to content

Commit

Permalink
Upgrade GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-ku committed Oct 25, 2024
1 parent cc4dd3e commit eb4880f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
contents: write
if: contains(github.ref, 'main')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "${{ env.GOVERSION }}"
- name: Generate test coverage
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
env:
VERSION_NAME: directadmin_exporter-${{ github.ref_name }}.${{ matrix.platform }}-${{ matrix.arch }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "${{ env.GOVERSION }}"
- name: Build
Expand All @@ -52,7 +52,7 @@ jobs:
tar -czvf \
${{ env.ARTIFACTS_DIR }}/${{ env.VERSION_NAME }}.tar.gz \
./${{ env.VERSION_NAME }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: release-archives
path: ${{ env.ARTIFACTS_DIR }}/${{ env.VERSION_NAME }}.tar.gz
Expand All @@ -63,8 +63,8 @@ jobs:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/download-artifact@v2
uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: release-archives
path: ${{ env.ARTIFACTS_DIR }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "${{ env.GOVERSION }}"
- name: golangci-lint
Expand Down

0 comments on commit eb4880f

Please sign in to comment.