File tree Expand file tree Collapse file tree 8 files changed +21
-21
lines changed Expand file tree Collapse file tree 8 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 1
1
name : Default
2
2
3
- on :
3
+ on :
4
4
push :
5
5
branches :
6
6
- master
17
17
- name : Set up Go
18
18
uses : actions/setup-go@v2
19
19
with :
20
- go-version : ^1.16
20
+ go-version : ^1.18
21
21
id : go
22
22
23
23
- name : Set up Node
Original file line number Diff line number Diff line change 1
1
name : Nightly Build
2
2
3
- on :
3
+ on :
4
4
schedule : # runs on the default branch: master
5
5
- cron : ' 0 2 * * *' # run at 2 AM UTC
6
6
workflow_dispatch :
21
21
name : check latest commit is less than a day
22
22
if : ${{ github.event_name == 'schedule' }}
23
23
run : test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false"
24
-
24
+
25
25
call-build-workflow :
26
26
name : Call Build
27
27
needs : check_date
82
82
- name : Set up Go
83
83
uses : actions/setup-go@v2
84
84
with :
85
- go-version : ^1.16
85
+ go-version : ^1.18
86
86
id : go
87
-
87
+
88
88
- name : Set up Node
89
89
uses : actions/setup-node@v2
90
90
with :
@@ -112,12 +112,12 @@ jobs:
112
112
run : |
113
113
for filename in release/*.deb; do
114
114
# goreleaser creates armel packages for armv6, which is wrong
115
- # until this is fixed, ignore armv6
115
+ # until this is fixed, ignore armv6
116
116
if [[ "$filename" == *"armv6"* ]]; then
117
117
echo "Skipping $filename"
118
118
continue
119
119
fi
120
120
121
121
echo "Pushing $filename to 'unstable'"
122
122
cloudsmith push deb evcc/unstable/any-distro/any-version $filename
123
- done
123
+ done
Original file line number Diff line number Diff line change 61
61
- name : Setup Go
62
62
uses : actions/setup-go@v2
63
63
with :
64
- go-version : ^1.16
64
+ go-version : ^1.18
65
65
id : go
66
-
66
+
67
67
- name : Setup Node
68
68
uses : actions/setup-node@v2
69
69
with :
@@ -105,12 +105,12 @@ jobs:
105
105
run : |
106
106
for filename in release/*.deb; do
107
107
# goreleaser creates armel packages for armv6, which is wrong
108
- # until this is fixed, ignore armv6
108
+ # until this is fixed, ignore armv6
109
109
if [[ "$filename" == *"armv6"* ]]; then
110
110
echo "Skipping $filename"
111
111
continue
112
112
fi
113
113
114
114
echo "Pushing $filename to 'stable'"
115
115
cloudsmith push deb evcc/stable/any-distro/any-version $filename
116
- done
116
+ done
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN make clean ui
18
18
19
19
20
20
# STEP 2 build executable binary
21
- FROM golang:1.16 -alpine as builder
21
+ FROM golang:1.18 -alpine as builder
22
22
23
23
# Install git + SSL ca certificates.
24
24
# Git is required for fetching the dependencies.
Original file line number Diff line number Diff line change 1
1
# STEP 2 build executable binary
2
- FROM golang:1.16 -alpine as builder
2
+ FROM golang:1.18 -alpine as builder
3
3
4
4
WORKDIR /build
5
5
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN make clean ui
18
18
19
19
20
20
# STEP 2 build executable binary
21
- FROM golang:1.16 -alpine as builder
21
+ FROM golang:1.18 -alpine as builder
22
22
23
23
# Install git + SSL ca certificates.
24
24
# Git is required for fetching the dependencies.
Original file line number Diff line number Diff line change 1
1
// Approach from https://github.com/theckman/goconstraint/
2
2
3
3
// Package goversion should only be used as a blank import. If imported, it
4
- // will only compile if the Go runtime version is >= 1.16 .
4
+ // will only compile if the Go runtime version is >= 1.18 .
5
5
package goversion
6
6
7
- // This will fail to compile if the Go runtime version isn't >= 1.16 .
8
- var _ = __EVCC_REQUIRES_GO_VERSION_1_16__
7
+ // This will fail to compile if the Go runtime version isn't >= 1.18 .
8
+ var _ = __EVCC_REQUIRES_GO_VERSION_1_18__
Original file line number Diff line number Diff line change 1
- //go:build go1.16
2
- // +build go1.16
1
+ //go:build go1.18
2
+ // +build go1.18
3
3
4
4
package goversion
5
5
6
- const __EVCC_REQUIRES_GO_VERSION_1_16__ = uint8 (0 )
6
+ const __EVCC_REQUIRES_GO_VERSION_1_18__ = uint8 (0 )
You can’t perform that action at this time.
0 commit comments