Skip to content

added golang.org/x/lint/golint #204

added golang.org/x/lint/golint

added golang.org/x/lint/golint #204

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.21
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Code sanity
run: make code-up-to-date
- name: Test
run: make test-with-report
- uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage*.*
- name: Coverage summary
shell: bash
run: |
tail -n1 coverage-summary.txt | awk '{print "Coverage summary: " $3}'
- name: Codecov
uses: codecov/codecov-action@v3