Skip to content

Bump actions/checkout from 4 to 5 in /.github/workflows #73

Bump actions/checkout from 4 to 5 in /.github/workflows

Bump actions/checkout from 4 to 5 in /.github/workflows #73

Workflow file for this run

name: Pull Request
on: [ pull_request ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
id: go
- name: Cache go module
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
- name: Build and Test
run: go test -v -race -cover ./...