Skip to content

Bump github.com/moby/moby/client from 0.2.1 to 0.2.2 in /test/integration/kubernetes #1642

Bump github.com/moby/moby/client from 0.2.1 to 0.2.2 in /test/integration/kubernetes

Bump github.com/moby/moby/client from 0.2.1 to 0.2.2 in /test/integration/kubernetes #1642

Workflow file for this run

name: go
on:
pull_request:
permissions:
contents: read
defaults:
run:
shell: bash
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 #v6.2.0
with:
go-version-file: go.mod
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 #v9.2.0
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 #v6.2.0
with:
go-version-file: go.mod
- name: Run tests
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de #v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit
integration-containerd:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 #v6.2.0
with:
go-version-file: ./test/integration/containerd/go.mod
cache-dependency-path: ./test/integration/containerd/go.sum
- name: Run tests
run: INTEGRATION_TEST_STRATEGY="fast" go test -v -race -coverprofile=coverage.txt -coverpkg=github.com/spegel-org/spegel/... -covermode=atomic ./...
working-directory: ./test/integration/containerd
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de #v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: integration-containerd
directory: ./test/integration/containerd
integration-kubernetes:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 #v6.2.0
with:
go-version-file: ./test/integration/kubernetes/go.mod
cache-dependency-path: ./test/integration/kubernetes/go.sum
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a #v6.4.0
with:
install-only: true
- name: Build image
id: build
run: |
IMG_REF=$(make build-image)
echo "IMG_REF=${IMG_REF}" >> $GITHUB_OUTPUT
- name: Run tests
run: INTEGRATION_TEST_STRATEGY="fast" IMG_REF=${{ steps.build.outputs.IMG_REF }} go test -v -race ./...
working-directory: ./test/integration/kubernetes