Skip to content

Chore(deps): Bump github.com/docker/cli from 25.0.3+incompatible to 26.1.3+incompatible #537

Chore(deps): Bump github.com/docker/cli from 25.0.3+incompatible to 26.1.3+incompatible

Chore(deps): Bump github.com/docker/cli from 25.0.3+incompatible to 26.1.3+incompatible #537

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
name: Build
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.19.x'
- uses: actions/checkout@v4
- name: Build all
run: |
make
ls -al ./out/buildg
if ldd ./out/buildg ; then echo "buildg must be static binary" ; exit 1 ; fi
test:
runs-on: ubuntu-22.04
name: Test
strategy:
fail-fast: false
matrix:
mode: ["root", "rootless"]
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.19.x'
- uses: actions/checkout@v4
- name: Build and install
run: |
DOCKER_BUILDKIT=1 docker build --output type=tar,dest=${GITHUB_WORKSPACE}/buildg-full.tar --target out-full --platform amd64 .
sudo tar -C /usr/local/ -xvf ${GITHUB_WORKSPACE}/buildg-full.tar
- name: Test
run: |
if [ "${{ matrix.mode }}" == "root" ] ; then
sudo go test -v ./...
elif [ "${{ matrix.mode }}" == "rootless" ] ; then
mkdir -p ${GITHUB_WORKSPACE}/tmp
TEST_BUILDG_TMP_DIR=${GITHUB_WORKSPACE}/tmp go test -v ./...
else
echo "unknown mode ${{ matrix.mode }}"
exit 1
fi
linter:
runs-on: ubuntu-22.04
name: Linter
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.52
args: --verbose
project:
name: Project Checks
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.19.x
- uses: actions/checkout@v4
with:
fetch-depth: 100
- name: "Check DCO sign"
run: |
go install github.com/vbatts/[email protected]
git-validation -v -run DCO