Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

chore(deps): bump actions/setup-go from 4 to 5 in /.github/workflows #275

chore(deps): bump actions/setup-go from 4 to 5 in /.github/workflows

chore(deps): bump actions/setup-go from 4 to 5 in /.github/workflows #275

Workflow file for this run

name: CI Build & Test with coverage
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.0
- name: Build
run: go build -v ./...
- name: Test & Coverage
run: go test -v ./... -race -covermode=atomic -coverprofile=coverage.out
- name: Upload coverage reports to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}