Skip to content

Commit

Permalink
ci: update Go version to 1.21 (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanlce authored Feb 2, 2024
1 parent 54bc339 commit 7cfcd38
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
checkout-full-src:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
submodules: 'recursive'
Expand Down Expand Up @@ -135,6 +140,11 @@ jobs:
CC: ${{ matrix.cc }}

steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/pick-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
checkout-full-src:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.daed }}
Expand Down Expand Up @@ -146,6 +151,11 @@ jobs:
CC: ${{ matrix.cc }}

steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.daed }}
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
checkout-full-src:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
submodules: 'recursive'
Expand Down Expand Up @@ -144,6 +149,11 @@ jobs:
GOARM: ${{ matrix.goarm }}

steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
checkout-full-src:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
submodules: 'recursive'
Expand Down Expand Up @@ -126,6 +131,11 @@ jobs:
CC: ${{ matrix.cc }}

steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
checkout-full-src:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
submodules: 'recursive'
Expand Down Expand Up @@ -129,6 +134,11 @@ jobs:
CC: ${{ matrix.cc }}

steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go version
- uses: actions/checkout@v3
with:
ref: ${{ inputs.tag }}
Expand Down

0 comments on commit 7cfcd38

Please sign in to comment.