diff --git a/.github/workflows/codeql-analysis-js.yml b/.github/workflows/codeql-analysis-js.yml index 072034159..cfb693179 100644 --- a/.github/workflows/codeql-analysis-js.yml +++ b/.github/workflows/codeql-analysis-js.yml @@ -13,6 +13,10 @@ on: schedule: - cron: "30 18 * * 2" +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: analyze: name: Analyze diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 94e9f3c48..8ecc3067c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -30,6 +30,10 @@ on: schedule: - cron: "30 18 * * 2" +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: analyze: name: Analyze diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd3a7c192..f72014f4e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: lint: name: lint @@ -74,12 +78,18 @@ jobs: uses: actions/checkout@v3 - name: Setup Go + id: go uses: actions/setup-go@v3 with: go-version: 1.19.5 check-latest: true cache: true + - uses: actions/cache@v3 + with: + path: gocache-for-docker + key: gocache-docker-${{ runner.os }}-${{ steps.go.outputs.go-version }}-${{ hashFiles('go.mod') }} + - name: Build run: | make vmcluster-crossbuild diff --git a/deployment/docker/builder/Dockerfile b/deployment/docker/builder/Dockerfile index e18295133..0efb33b91 100644 --- a/deployment/docker/builder/Dockerfile +++ b/deployment/docker/builder/Dockerfile @@ -3,7 +3,7 @@ FROM $go_builder_image STOPSIGNAL SIGINT RUN apk add git gcc musl-dev make wget --no-cache && \ mkdir /opt/cross-builder && \ - wget https://musl.cc/aarch64-linux-musl-cross.tgz -O /opt/cross-builder/aarch64-musl.tgz && \ + wget https://musl.cc/aarch64-linux-musl-cross.tgz -O /opt/cross-builder/aarch64-musl.tgz --no-verbose && \ cd /opt/cross-builder && \ tar zxf aarch64-musl.tgz -C ./ && \ rm /opt/cross-builder/aarch64-musl.tgz