1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00

chore(ci): improve taskfile and build

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos A Becker 2021-10-05 20:39:24 -03:00
parent 862da49983
commit e7a9c2f05c
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 10 additions and 11 deletions

View File

@ -55,15 +55,12 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: sigstore/cosign-installer@v1.2.0
-
name: Setup
run: |
task setup
name: Setup Sigstore
uses: sigstore/cosign-installer@v1.2.0
-
name: CI
run: |
task ci
name: build and test
run: task ci
-
name: Upload coverage
uses: codecov/codecov-action@v2
@ -71,8 +68,7 @@ jobs:
file: ./coverage.txt
-
name: Check
run: |
./goreleaser check
run: ./goreleaser check
-
name: Diff
run: git diff

View File

@ -47,8 +47,11 @@ tasks:
- gofumpt -w -l -s .
ci:
desc: Run all the tests and code checks
deps: [build test]
desc: Run all CI steps
deps:
- setup
- build
- test
docs:imgs:
desc: Download and resize images