Skip to content

Commit

Permalink
ci: change ci go version to 1.16 to 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
september committed Dec 18, 2021
1 parent f9461a0 commit c28c76d
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,26 @@
# Copy from https://github.com/spf13/cobra
# https://github.com/spf13/cobra/blob/master/LICENSE.txt
name: Test

on:
push:
pull_request:

env:
GO111MODULE: on

jobs:


test-unix:
strategy:
fail-fast: false
matrix:
platform:
- ubuntu
- macOS
go:
- 1.14.x
- 1.15.x
- 1.16.x
name: '${{ matrix.platform }} | ${{ matrix.go }}'
runs-on: ${{ matrix.platform }}-latest
os: [ ubuntu-latest, macos-latest, windows-latest ]
go-version: [ 1.16.x,1.17.x,1.18beta1 ]
name: '${{ matrix.os }} | ${{ matrix.go-version }}'
runs-on: ${{ matrix.os }}
steps:

- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
stable: ${{ !contains(matrix.go, 'beta') }}

- uses: actions/checkout@v2

Expand Down

0 comments on commit c28c76d

Please sign in to comment.