mirror of
https://github.com/lukaszraczylo/filepuff-mcp.git
synced 2026-10-12 04:54:27 +00:00
The go.mod file requires Go 1.26.0. The release job runs Go 1.25 with GOTOOLCHAIN=local, so it fails before it runs any test. The lint and security jobs use the same pin. This change sets all three to 1.26.
32 lines
910 B
YAML
32 lines
910 B
YAML
name: Test, build, release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths-ignore:
|
|
- '**.md'
|
|
- '**/release.yaml'
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: write
|
|
packages: write
|
|
|
|
jobs:
|
|
release:
|
|
uses: lukaszraczylo/shared-actions/.github/workflows/go-release-cgo.yaml@main
|
|
with:
|
|
go-version: "1.26"
|
|
rolling-release-tag: "v1"
|
|
platforms: >-
|
|
[
|
|
{"os":"macos-15-intel","goos":"darwin","goarch":"amd64","platform":"darwin_amd64"},
|
|
{"os":"macos-latest","goos":"darwin","goarch":"arm64","platform":"darwin_arm64"},
|
|
{"os":"ubuntu-latest","goos":"linux","goarch":"amd64","platform":"linux_amd64"},
|
|
{"os":"ubuntu-24.04-arm","goos":"linux","goarch":"arm64","platform":"linux_arm64"},
|
|
{"os":"windows-latest","goos":"windows","goarch":"amd64","platform":"windows_amd64"}
|
|
]
|
|
secrets: inherit
|