Skip to content

Commit

Permalink
Use Go 1.18 for CI (#19)
Browse files Browse the repository at this point in the history
* Use Go 1.18 for CI

* Use beta version of Go

* Try a different syntax for beta version

* Use syntax found in actions/setup-go#177
  • Loading branch information
marstr authored Dec 20, 2021
1 parent 0be5737 commit 3915cf8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build and Test

on:
push:
branches: [ main ]
branches: [ main, v1 ]
pull_request:
branches: [ main ]
branches: [ main, v1 ]

jobs:

Expand All @@ -16,7 +16,8 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
stable: false
go-version: ^1.18.0-beta1
id: go

- name: Check out code into the Go module directory
Expand Down

0 comments on commit 3915cf8

Please sign in to comment.