Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,30 @@ on:
jobs:

build:
name: build (Go ${{ matrix.go }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Go 1.20 checks downstream compatibility; stable tracks supported Go.
go: ['1.20', 'stable']
env:
# Use setup-go's selected toolchain without automatic downloads or switches.
GOTOOLCHAIN: local
Comment thread
cpunion marked this conversation as resolved.
Resolved
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: ${{ matrix.go }}

- name: Build
run: go build -v ./...

- name: Test
run: go test ./...

llgo-test:
name: llgo-test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/goplus/lib

go 1.23
go 1.20
Comment thread
cpunion marked this conversation as resolved.
Resolved
Loading