Skip to content

Bump actions/checkout from 3 to 4 #81

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #81

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22']
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go mod download
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}