Skip to content

Do not attempt to scan buildkit caches, Also check size of uncompressed and zstd compressed layers #2781

Do not attempt to scan buildkit caches, Also check size of uncompressed and zstd compressed layers

Do not attempt to scan buildkit caches, Also check size of uncompressed and zstd compressed layers #2781

Workflow file for this run

################################################################################
# This file is AUTOGENERATED with <https://github.com/sapcc/go-makefile-maker> #
# Edit Makefile.maker.yaml instead. #
################################################################################
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company
# SPDX-License-Identifier: Apache-2.0
name: CI
"on":
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
branches:
- '*'
paths-ignore:
- '**.md'
workflow_dispatch: {}
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
check-latest: true
go-version: 1.26.3
- name: Build all binaries
run: make build-all
code_coverage:
name: Code coverage report
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
needs:
- test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Post coverage report
uses: fgrosse/go-coverage-report@v1.3.0
with:
coverage-artifact-name: code-coverage
coverage-file-name: cover.out
permissions:
actions: read
contents: read
pull-requests: write
test:
name: Test
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
check-latest: true
go-version: 1.26.3
- name: Run tests and generate coverage report
run: |
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
sudo apt-get install -y --no-install-recommends postgresql-18
export PATH=/usr/lib/postgresql/18/bin:$PATH
make build/cover.out
- name: Archive code coverage results
uses: actions/upload-artifact@v7
with:
name: code-coverage
path: build/cover.out