Require Go 1.21 (#9244)
This commit is contained in:
parent
0854849243
commit
e14fdf6822
55 changed files with 116 additions and 127 deletions
13
.github/workflows/default.yml
vendored
13
.github/workflows/default.yml
vendored
|
|
@ -1,5 +1,8 @@
|
|||
name: Default
|
||||
|
||||
env:
|
||||
GO_VERSION: ^1.21
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
@ -18,7 +21,7 @@ jobs:
|
|||
# - uses: actions/setup-go@v4
|
||||
- uses: erezrokah/setup-go@feat/add_cache_prefix
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
cache-key-prefix: clean-cache-
|
||||
id: go
|
||||
|
||||
|
|
@ -46,7 +49,7 @@ jobs:
|
|||
|
||||
- uses: erezrokah/setup-go@feat/add_cache_prefix
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
cache-key-prefix: build-cache-
|
||||
id: go
|
||||
|
||||
|
|
@ -70,7 +73,7 @@ jobs:
|
|||
# - uses: actions/setup-go@v4
|
||||
- uses: erezrokah/setup-go@feat/add_cache_prefix
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
cache-key-prefix: test-cache-
|
||||
id: go
|
||||
|
||||
|
|
@ -86,7 +89,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
cache: false # avoid cache thrashing
|
||||
id: go
|
||||
|
||||
|
|
@ -142,7 +145,7 @@ jobs:
|
|||
|
||||
- uses: erezrokah/setup-go@feat/add_cache_prefix
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
cache-key-prefix: integration-cache-
|
||||
id: go
|
||||
|
||||
|
|
|
|||
5
.github/workflows/documentation.yml
vendored
5
.github/workflows/documentation.yml
vendored
|
|
@ -1,5 +1,8 @@
|
|||
name: Deploy updated templates
|
||||
|
||||
env:
|
||||
GO_VERSION: ^1.21
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
|
@ -16,7 +19,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
id: go
|
||||
|
||||
- name: Build docs
|
||||
|
|
|
|||
5
.github/workflows/nightly.yml
vendored
5
.github/workflows/nightly.yml
vendored
|
|
@ -1,5 +1,8 @@
|
|||
name: Nightly Build
|
||||
|
||||
env:
|
||||
GO_VERSION: ^1.21
|
||||
|
||||
on:
|
||||
schedule: # runs on the default branch: master
|
||||
- cron: "0 2 * * *" # run at 2 AM UTC
|
||||
|
|
@ -81,7 +84,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
id: go
|
||||
|
||||
- name: Install Cloudsmith CLI
|
||||
|
|
|
|||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -1,5 +1,8 @@
|
|||
name: Release
|
||||
|
||||
env:
|
||||
GO_VERSION: ^1.21
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
|
|
@ -7,7 +10,7 @@ on:
|
|||
|
||||
jobs:
|
||||
call-build-workflow:
|
||||
if: "startsWith(github.ref, 'refs/tags')"
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
uses: evcc-io/evcc/.github/workflows/default.yml@master
|
||||
|
||||
docker:
|
||||
|
|
@ -60,7 +63,7 @@ jobs:
|
|||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
id: go
|
||||
|
||||
- name: Install Cloudsmith CLI
|
||||
|
|
|
|||
5
.github/workflows/website.yml
vendored
5
.github/workflows/website.yml
vendored
|
|
@ -1,5 +1,8 @@
|
|||
name: Deploy data to website
|
||||
|
||||
env:
|
||||
GO_VERSION: ^1.21
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
|
@ -16,7 +19,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
id: go
|
||||
|
||||
- name: Build docs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue