Skip to content

Commit 0474357

Browse files
authored
Update GitHub Actions to trigger on pull requests and update go version (#185)
1 parent b4ab5fc commit 0474357

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/go-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: go-tests
22

3-
on: [push]
3+
on:
4+
pull_request:
5+
branches: [ main ]
46

57
env:
68
TEST_RESULTS: /tmp/test-results
@@ -11,7 +13,7 @@ jobs:
1113
runs-on: ubuntu-latest
1214
strategy:
1315
matrix:
14-
go-version: [ 1.15.3, 1.19 ]
16+
go-version: ['stable', 'oldstable']
1517

1618
steps:
1719
- name: Setup go

0 commit comments

Comments
 (0)