Skip to content

chore(deps): update github/codeql-action action to v3 #123

chore(deps): update github/codeql-action action to v3

chore(deps): update github/codeql-action action to v3 #123

Workflow file for this run

name: Go
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.2
- name: Build
run: go mod tidy && go build -v ./...
- name: Run coverage
run: export GOROOT=$(go env GOROOT); go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)