Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
devemlight committed Feb 10, 2024
1 parent 8b93cdd commit 52b7af4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/go.yml → .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ on:
branches: [ main ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: ^1.21

- name: Lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3

- name: Build
run: make build
Expand All @@ -28,4 +28,6 @@ jobs:
run: go test -race -coverprofile=coverage.out -covermode=atomic -tags test ./...

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 52b7af4

Please sign in to comment.