Skip to content

Add -Werror to treat warnings as errors #72

Add -Werror to treat warnings as errors

Add -Werror to treat warnings as errors #72

Workflow file for this run

# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.19'
- name: Build
run: cd v23 && go build ./...
- name: Test
run: cd v23 && go test -coverprofile cover.out ./...
- name: Upload coverage to Codecov
uses: codecov/[email protected]