Skip to content

Bump codecov/codecov-action from 3 to 5 #32

Bump codecov/codecov-action from 3 to 5

Bump codecov/codecov-action from 3 to 5 #32

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
tags:
- "v*"
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Build
run: go build -v ./...
- name: Fmt
run: test -z $(gofmt -l .)
- name: Vet
run: go vet ./...
- name: Test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Codecov
uses: codecov/codecov-action@v5