forked from Ivasoft/github-actions
Upgrade to golang 1.21
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -3,7 +3,7 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: act
|
- name: act
|
||||||
image: golang:1.20
|
image: golang:1.21
|
||||||
commands:
|
commands:
|
||||||
- git clone https://github.com/nektos/act.git && cd act
|
- git clone https://github.com/nektos/act.git && cd act
|
||||||
- export ACT_VERSION=$(git describe --tags --dirty --always | sed -e 's/^v//')
|
- export ACT_VERSION=$(git describe --tags --dirty --always | sed -e 's/^v//')
|
||||||
@@ -12,7 +12,7 @@ steps:
|
|||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$ACT_VERSION" -o bin/act main.go
|
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$ACT_VERSION" -o bin/act main.go
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.20
|
image: golang:1.21
|
||||||
commands:
|
commands:
|
||||||
- go test ./...
|
- go test ./...
|
||||||
- sh scripts/build.sh
|
- sh scripts/build.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user