Skip to content

fix golangci-lint-action version to v8 #31

fix golangci-lint-action version to v8

fix golangci-lint-action version to v8 #31

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '1.25.x'
- name: Lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.4.0
- name: Test
run: go test -race -covermode atomic -coverprofile=covprofile -v ./...
- name: Install Goveralls
run: go install github.com/mattn/goveralls@v0.0.12
- name: Upload Coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -ignore=cmd/**/*.go,emailtest/**/*.go -coverprofile=covprofile -service=github