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:
parent
862da49983
commit
e7a9c2f05c
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user