File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 8
8
build-and-test :
9
9
runs-on : [self-hosted, tfchainrunner01]
10
10
container :
11
- image : threefolddev/tfchain:4
11
+ image : threefolddev/tfchain:5
12
12
env :
13
13
DEBIAN_FRONTEND : noninteractive
14
14
PATH : /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin
Original file line number Diff line number Diff line change @@ -21,21 +21,22 @@ jobs:
21
21
- name : Set up Go
22
22
uses : actions/setup-go@v5
23
23
with :
24
- go-version : " 1.20 "
24
+ go-version : " 1.21 "
25
25
cache : false
26
26
# cache-dependency-path: clients/tfchain-client-go/go.sum
27
27
id : go
28
28
29
29
- name : golangci-lint
30
- uses : golangci/golangci-lint-action@v3.7.0
30
+ uses : golangci/golangci-lint-action@v6
31
31
with :
32
32
args : --timeout 3m --verbose
33
33
working-directory : clients/tfchain-client-go
34
34
35
35
- name : staticcheck
36
- uses : dominikh/staticcheck-action@v1.3.0
36
+ uses : dominikh/staticcheck-action@v1
37
37
with :
38
- version : " 2022.1.3"
38
+ version : " latest"
39
+ install-go : false
39
40
working-directory : clients/tfchain-client-go
40
41
env :
41
42
GO111MODULE : on
44
45
uses : Jerome1337/gofmt-action@v1.0.5
45
46
with :
46
47
gofmt-path : ' ./clients/tfchain-client-go'
47
- gofmt-flags : " -l -d"
48
+ gofmt-flags : " -l -d"
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
ENV DEBIAN_FRONTEND=noninteractive
3
3
RUN apt update && \
4
4
apt install -y \
@@ -16,8 +16,8 @@ RUN apt update && \
16
16
zstd \
17
17
wget \
18
18
protobuf-compiler && \
19
- wget https://go.dev/dl/go1.20.2 .linux-amd64.tar.gz && \
20
- tar -xvf go1.20.2 .linux-amd64.tar.gz && \
19
+ wget https://go.dev/dl/go1.21.13 .linux-amd64.tar.gz && \
20
+ tar -xvf go1.21.13 .linux-amd64.tar.gz && \
21
21
mv go /usr/local && \
22
22
echo "GOPATH=/usr/local/go" >> ~/.bashrc && \
23
23
echo "PATH=\$ PATH:\$ GOPATH/bin" >> ~/.bashrc && \
You can’t perform that action at this time.
0 commit comments