Skip to content

Commit

Permalink
fix: update pipeline actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Volkov committed Apr 2, 2024
1 parent 2388a52 commit eb73c7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: sed -En 's/^go (.*)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: "${{ env.GO_VERSION }}"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Test
run: go test ./...
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
run: git fetch --force --tags

- run: sed -En 's/^go (.*)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: "${{ env.GO_VERSION }}"

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
Expand Down

0 comments on commit eb73c7e

Please sign in to comment.