Skip to content

build(deps): bump golangci/golangci-lint-action from 5 to 6 #30

build(deps): bump golangci/golangci-lint-action from 5 to 6

build(deps): bump golangci/golangci-lint-action from 5 to 6 #30

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@v5
with:
go-version: "1.x"
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Build
run: go build -race -v ./...
- name: Test
run: |
go test -race -cover -coverprofile ./coverage.out.tmp ./...
cat ./coverage.out.tmp | grep -v 'mock_' | grep -v 'nop.go' > ./coverage.out
rm ./coverage.out.tmp
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.55.2
skip-pkg-cache: true
skip-cache: true
- name: Coveralls
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true