aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McNulty <bryanmcnulty@protonmail.com>2025-04-26 04:50:16 -0500
committerBryan McNulty <bryanmcnulty@protonmail.com>2025-04-26 04:50:16 -0500
commitbac8bd6865a4dc6ad6cbd791a0141d4e5d988007 (patch)
tree9f59ab090f1540e7b4f4f578affa47a687ab026e
parent0ff002291775f757a0c9eeae3fc3316a6cf32071 (diff)
parente860eced799e64ebff56012a7655155d26b3a2a2 (diff)
downloadgoexec-bac8bd6865a4dc6ad6cbd791a0141d4e5d988007.tar.gz
goexec-bac8bd6865a4dc6ad6cbd791a0141d4e5d988007.zip
Merge dev: patch Go workflow
-rw-r--r--.github/workflows/go.yml31
1 files changed, 15 insertions, 16 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 93c8c58..58cbddb 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -3,26 +3,25 @@
name: Go
-on:
- push:
- branches: [ "main" ]
- pull_request:
- branches: [ "main" ]
+on: [push]
jobs:
-
build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - name: Set up Go
- uses: actions/setup-go@v4
- with:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
go-version: [ '1.23', '1.24' ]
- - name: Build
- run: go build -v ./...
+ steps:
+ - uses: actions/checkout@v4
+ - name: Setup Go ${{ matrix.go-version }}
+ uses: actions/setup-go@v5
+ with:
+ go-version: ${{ matrix.go-version }}
+
+ - name: Build
+ run: go build -v ./...
- - name: Test
- run: go test -v ./...
+ - name: Test
+ run: go test -v ./...