Skip to content

[WIP] [CI] cleanup series end-goal #39

[WIP] [CI] cleanup series end-goal

[WIP] [CI] cleanup series end-goal #39

Workflow file for this run

name: lint
on:
push:
branches:
- main
- 'release/**'
pull_request:
jobs:
# Runs golangci to ensure that:
# 1. the tooling is working on the target platform
# 2. the linter is happy
# 3. for canary, if it runs, does lint for all supported platforms
lint-go:
name: "go"
uses: ./.github/workflows/job-lint-go.yml
with:
timeout: 5
go-version: 1.24
runner-for-linux: ubuntu-24.04
runner-for-freebsd: ubuntu-24.04
runner-for-macos: macos-15
# FIXME: this is currently failing in a nonsensical way, so, running on linux instead...
# runner-for-windows: windows-2022
runner-for-windows: ubuntu-24.04
# Run common project checks (commits, licenses, etc)
lint-project-checks:
name: "project checks"
uses: ./.github/workflows/job-lint-project.yml
with:
timeout: 5
go-version: 1.24
runner: ubuntu-24.04
# Lint for shell and yaml files
lint-other:
name: "other"
uses: ./.github/workflows/job-lint-other.yml
with:
timeout: 5
go-version: 1.24
runner: ubuntu-24.04
# Verify we can actually build on all supported platforms, and a bunch of architectures
build-for-go:
name: "build for"
uses: ./.github/workflows/job-build.yml
with:
timeout: 5
go-version-old: 1.23
go-version-stable: 1.24
runner: ubuntu-24.04