Bump curioswitch/go-build from 11b22f19dd2fa2a8bcf50a89a33011764dde35… #36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-13 | |
- macos-14 | |
- ubuntu-22.04 | |
- windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.work | |
cache-dependency-path: "**/go.sum" | |
- name: run lints | |
# We don't have OS-specific code so would be completely repetitive to run | |
# lint on all of them. | |
if: ${{ startsWith(matrix.os, 'ubuntu-') }} | |
run: go run build lint | |
- name: run tests | |
run: go run build test |