Skip to content

Commit

Permalink
fix(ci): workflow versions
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed May 12, 2021
1 parent 2174282 commit eb9cdc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2
with:
fetch-depth: 0
-
Expand All @@ -28,7 +28,7 @@ jobs:
go-version: ${{ matrix.go-version }}
-
name: Cache Go modules
uses: actions/cache@v2.1.5
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand All @@ -39,14 +39,14 @@ jobs:
run: make setup ci
-
name: Upload coverage
uses: codecov/codecov-action@v1.5.0
uses: codecov/codecov-action@v1
if: matrix.os == 'ubuntu-latest'
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2.5.0
uses: goreleaser/goreleaser-action@v2
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
with:
version: latest
Expand Down

0 comments on commit eb9cdc4

Please sign in to comment.