Skip to content

chore(ci): bump actions/setup-go from 5 to 6 #15

chore(ci): bump actions/setup-go from 5 to 6

chore(ci): bump actions/setup-go from 5 to 6 #15

Workflow file for this run

name: Build and Test
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
- name: Download dependencies
run: go mod download
- name: Run unit tests
run: go test -race -coverprofile=coverage.out ./...
- name: Build
run: go build -v ./cmd
- name: Upload coverage
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v4
with:
files: coverage.out
fail_ci_if_error: false