Skip to content

Chore | Migrate to GitHub Actions (#36) #5

Chore | Migrate to GitHub Actions (#36)

Chore | Migrate to GitHub Actions (#36) #5

Workflow file for this run

name: go
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.21'
- name: Install dependencies
run: go mod download
- name: Build
run: go build -v ./...
- name: Test
run: go test ./... -v -coverprofile coverage.txt -covermode atomic -coverpkg ./... -race
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3