mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-27 07:31:37 +01:00
Update workflows
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -44,19 +44,13 @@ jobs:
|
||||
-
|
||||
# https://github.com/actions/setup-go
|
||||
name: Set up Go
|
||||
uses: actions/setup-go@master
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.13
|
||||
-
|
||||
name: Set GOPATH
|
||||
# temporary fix (see https://github.com/actions/setup-go/issues/14)
|
||||
run: |
|
||||
echo "##[set-env name=GOPATH;]$(dirname $GITHUB_WORKSPACE)"
|
||||
echo "##[add-path]$(dirname $GITHUB_WORKSPACE)/bin"
|
||||
-
|
||||
# https://github.com/actions/checkout
|
||||
name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
# https://github.com/goreleaser/goreleaser-action
|
||||
name: GoReleaser
|
||||
@@ -122,12 +116,10 @@ jobs:
|
||||
# https://github.com/crazy-max/ghaction-docker-buildx
|
||||
name: Set up Docker Buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
with:
|
||||
version: latest
|
||||
-
|
||||
# https://github.com/actions/checkout
|
||||
name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Docker Buildx (build)
|
||||
run: |
|
||||
|
||||
10
.github/workflows/gosum.yml
vendored
10
.github/workflows/gosum.yml
vendored
@@ -16,11 +16,13 @@ jobs:
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
# https://github.com/actions/checkout/issues/6
|
||||
name: Fix detached HEAD
|
||||
run: git checkout ${GITHUB_REF#refs/heads/}
|
||||
# https://github.com/actions/setup-go
|
||||
name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.13
|
||||
-
|
||||
name: Tidy
|
||||
run: |
|
||||
|
||||
4
.github/workflows/labels.yml
vendored
4
.github/workflows/labels.yml
vendored
@@ -15,11 +15,11 @@ jobs:
|
||||
-
|
||||
# https://github.com/actions/checkout
|
||||
name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
# https://github.com/crazy-max/ghaction-github-labeler
|
||||
name: Run Labeler
|
||||
if: success()
|
||||
uses: crazy-max/ghaction-github-labeler@v1
|
||||
uses: crazy-max/ghaction-github-labeler@v2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user