cicd: upgrade github actions quite considerably
This commit is contained in:
parent
0949999840
commit
8a7bf7d565
|
|
@ -11,34 +11,34 @@ jobs:
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
id: qemu
|
id: qemu
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v2
|
||||||
with:
|
with:
|
||||||
image: tonistiigi/binfmt:latest
|
image: tonistiigi/binfmt:latest
|
||||||
platforms: arm64,arm
|
platforms: arm64,arm
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '^1.16.0'
|
go-version: '>=1.18.0'
|
||||||
|
|
||||||
- name: grpc
|
- name: grpc
|
||||||
run: make grpc
|
run: make grpc
|
||||||
|
|
||||||
- name: goreleaser
|
- name: goreleaser
|
||||||
uses: goreleaser/goreleaser-action@v2
|
uses: goreleaser/goreleaser-action@v3
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
args: release --snapshot --rm-dist
|
args: release --snapshot --rm-dist
|
||||||
|
|
||||||
- name: Archive binaries
|
- name: Archive binaries
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3.1.0
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
path: dist/OliveTin*.*
|
path: dist/OliveTin*.*
|
||||||
|
|
||||||
- name: Archive integration tests
|
- name: Archive integration tests
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3.1.0
|
||||||
with:
|
with:
|
||||||
name: integration-tests
|
name: integration-tests
|
||||||
path: integration-tests
|
path: integration-tests
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue