Skip to content

Bump actions/checkout from 4 to 5 #90

Bump actions/checkout from 4 to 5

Bump actions/checkout from 4 to 5 #90

Workflow file for this run

name: test
on: # yamllint disable-line rule:truthy
push:
tags:
- v*
branches:
- master
- main
pull_request:
branches:
- master
- main
jobs:
test:
permissions:
contents: read # for actions/checkout to fetch code
timeout-minutes: 10
strategy:
matrix:
# test against the "oldest" supported version and the current version
# of go.
go-version: [1.23.x, stable]
os: [ubuntu-24.04, ubuntu-22.04, windows-2025]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v5
- run: go test -exec "sudo -n" -v ./...
- run: go mod tidy -diff