Skip to content

Bump codecov/codecov-action from 4 to 5 #169

Bump codecov/codecov-action from 4 to 5

Bump codecov/codecov-action from 4 to 5 #169

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git clone the repository
uses: actions/checkout@v4
- uses: actions/setup-go@v5
- run: go build ./...
test:
runs-on: ubuntu-latest
steps:
- name: Git clone the repository
uses: actions/checkout@v4
- uses: actions/setup-go@v5
- run: go test ./... -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
lint:
runs-on: ubuntu-latest
steps:
- name: Git clone the repository
uses: actions/checkout@v4
- uses: actions/setup-go@v5
- run: go vet ./...