1515 lint :
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919
2020 - id : nvm
2121 run : echo ::set-output name=NVMRC::$(cat .nvmrc)
3535 test :
3636 runs-on : ubuntu-latest
3737 steps :
38- - uses : actions/checkout@v2
38+ - uses : actions/checkout@v4
3939 with :
4040 fetch-depth : 0
4141
4848 cache : yarn
4949
5050 - name : Setup Go environment
51- uses : actions/setup-go@v2.1.3
51+ uses : actions/setup-go@v4
5252 with :
53- go-version : ' ^1.18.0 '
53+ go-version : ' ^1.21.1 '
5454
5555 - run : yarn install --frozen-lockfile
5656
7070 build :
7171 runs-on : ubuntu-latest
7272 steps :
73- - uses : actions/checkout@v2
73+ - uses : actions/checkout@v4
7474
7575 - id : extract_ref
7676 run : echo ::set-output name=GIT_REF::$(echo ${GITHUB_REF##*/})
@@ -84,12 +84,16 @@ jobs:
8484 cache : yarn
8585
8686 - name : Setup Go environment
87- uses : actions/setup-go@v2.1.3
87+ uses : actions/setup-go@v4
8888 with :
89- go-version : ' ^1.18.0 '
89+ go-version : ' ^1.21.1 '
9090
91- -
uses :
satackey/[email protected] 92- continue-on-error : true
91+ - name : Set up QEMU
92+ uses : docker/setup-qemu-action@v3
93+ - name : Set up Docker Buildx
94+ uses : docker/setup-buildx-action@v3
95+ with :
96+ platforms : linux/amd64,linux/arm64
9397
9498 - run : yarn install --frozen-lockfile
9599
@@ -119,7 +123,7 @@ jobs:
119123 if : startsWith(github.ref, 'refs/tags/')
120124 runs-on : ubuntu-latest
121125 steps :
122- - uses : actions/checkout@v2
126+ - uses : actions/checkout@v4
123127
124128 - id : extract_ref
125129 run : echo ::set-output name=GIT_REF::$(echo ${GITHUB_REF##*/})
0 commit comments