Skip to content

Commit

Permalink
Add new versions to go matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
erdnaxeli committed Oct 17, 2023
1 parent f6f7691 commit 0cba54d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -20,21 +20,25 @@ jobs:
- "1.13"
- "1.14"
- "1.15"
- "1.16.0-beta1"
- "1.16"
- "1.17"
- "1.18"
- "1.19"
- "1.20"
- "1.21"
- "tip"
env:
GOPATH: ${{ github.workspace }}/go
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: ${{ github.workspace }}/go/src/gopkg.in/yaml.v3
- name: Set up Go ${{ matrix.go }}
if: matrix.go != 'tip'
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
stable: false
- name: Set up Go ${{ matrix.go }}
if: matrix.go == 'tip'
run: |
Expand Down

0 comments on commit 0cba54d

Please sign in to comment.