Skip to content

Commit

Permalink
ci: reduce steps in ci 'build' step
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi committed May 6, 2024
1 parent 9f1215d commit 77b9217
Showing 1 changed file with 7 additions and 22 deletions.
29 changes: 7 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,37 +74,22 @@ jobs:
with:
fetch-depth: 0

- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
# - uses: docker/setup-qemu-action@v3

- uses: docker/setup-qemu-action@v3

- uses: docker/setup-buildx-action@v3

- name: setup-snapcraft
# FIXME: the mkdirs are a hack for https://github.com/goreleaser/goreleaser/issues/1715
run: |
sudo apt-get update
sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
mkdir -p $HOME/.cache/snapcraft/download
mkdir -p $HOME/.cache/snapcraft/stage-packages
# - uses: docker/setup-buildx-action@v3

- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- uses: sigstore/[email protected]

- uses: anchore/sbom-action/[email protected]

- name: setup-validate-krew-manifest
run: go install sigs.k8s.io/krew/cmd/validate-krew-manifest@latest

- name: setup-tparse
run: go install github.com/mfridman/tparse@latest

- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: setup
run: |
task setup
Expand Down

0 comments on commit 77b9217

Please sign in to comment.