Skip to content

Upgrade to actions/setup-go@v5 and macos-12~14 #104

Upgrade to actions/setup-go@v5 and macos-12~14

Upgrade to actions/setup-go@v5 and macos-12~14 #104

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
os: [ubuntu-latest]
fail-fast: false
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Go imports check
uses: zjkmxy/golang-github-actions@v1.1.3
with:
run: imports
token: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: go test ./...
env:
CGO_ENABLED: 0