Skip to content

Bump actions/setup-go from 5 to 6 #220

Bump actions/setup-go from 5 to 6

Bump actions/setup-go from 5 to 6 #220

name: build-and-test
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v5
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: 1.23
- name: Cache Go
id: go-cache
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: make gocov test