Skip to content

Commit 289c255

Browse files
authored
Add CI workflow for Go legacy versions
1 parent d1e8905 commit 289c255

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/legacy86.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Go-legacy-CI
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
go-version: ['1.20.x', '1.21.x']
9+
steps:
10+
- name: Install Go
11+
uses: actions/setup-go@v5
12+
with:
13+
go-version: ${{ matrix.go-version }}
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
- name: Test on 386
17+
run: |
18+
GOARCH=386 go test

0 commit comments

Comments
 (0)