Skip to content

NOISSUE - Remove vendoring and update dependencies (#9) #55

NOISSUE - Remove vendoring and update dependencies (#9)

NOISSUE - Remove vendoring and update dependencies (#9) #55

Workflow file for this run

name: Go
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.22.5
uses: actions/setup-go@v1
with:
go-version: 1.22.5
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Lint
run: |
export GOBIN=$HOME/go/bin
export PATH=$PATH:$(go env GOBIN)
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOBIN) v1.59.1
golangci-lint run --no-config --disable-all --enable gosimple --enable govet --enable unused --timeout 3m
- name: Test
run: |
go test -v -race -tags test -coverprofile=profile.out -covermode=atomic ./...
- name: Upload coverage
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./profile.out
name: codecov