1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

chore: Central go-version for GitHub actions (#591)

* chore: Init AGENTS.md

Signed-off-by: James Hillyerd <james@hillyerd.com>

* chore: Central go-version for GitHub actions

Signed-off-by: James Hillyerd <james@hillyerd.com>

---------

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2025-12-06 12:45:11 -08:00
committed by GitHub
parent 6eff554469
commit be7d29c5d5
5 changed files with 300 additions and 10 deletions

View File

@@ -9,11 +9,7 @@ on:
jobs:
linux-go-build:
runs-on: ubuntu-latest
name: Linux Go ${{ matrix.go }} build
strategy:
matrix:
go:
- '1.25'
name: Linux Go build
steps:
- uses: actions/checkout@v6
with:
@@ -21,7 +17,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
go-version-file: '.go-version'
check-latest: true
- name: Build and test
run: |
@@ -31,7 +27,7 @@ jobs:
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
flag-name: Linux-Go-${{ matrix.go }}
flag-name: Linux-Go
parallel: true
windows-go-build:
@@ -44,7 +40,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '1.25'
go-version-file: '.go-version'
- name: Build
run: go build ./...
- name: Test

View File

@@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.25'
go-version-file: '.go-version'
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:

View File

@@ -20,7 +20,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '1.25'
go-version-file: '.go-version'
check-latest: true
- name: Setup Node.js