Skip to content

Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 #189

Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0

Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 #189

Workflow file for this run

name: Go
on:
pull_request:
paths:
- go.sum
- go.mod
- "**.go"
- .github/workflows/go.yml
jobs:
build:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -o epoch_bin -v ./cmd/epoch/main.go
- name: Test
run: go test -race ./...
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v5.0.0