set minimum go version to go1.21

r/paopao-ce-plus
Michael Li 2 years ago
parent b78ad4c6b1
commit db5446394e
No known key found for this signature in database

@ -47,7 +47,7 @@ jobs:
name: Test name: Test
strategy: strategy:
matrix: matrix:
go-version: [ 1.20.x, 1.21.x ] go-version: [ 1.21.x ]
platform: [ ubuntu-latest, macos-latest ] platform: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
@ -66,7 +66,7 @@ jobs:
name: TestOnWindows name: TestOnWindows
strategy: strategy:
matrix: matrix:
go-version: [ 1.20.x, 1.21.x ] go-version: [ 1.21.x ]
platform: [ windows-latest ] platform: [ windows-latest ]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:

@ -1,6 +1,6 @@
module github.com/rocboss/paopao-ce module github.com/rocboss/paopao-ce
go 1.20 go 1.21
require ( require (
github.com/Masterminds/semver/v3 v3.2.1 github.com/Masterminds/semver/v3 v3.2.1

Loading…
Cancel
Save