Skip to content

🌱 Bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.19.1 #398

🌱 Bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.19.1

🌱 Bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.19.1 #398

Workflow file for this run

name: Build and Test Pull Request
# Trigger the workflow on push or pull request
on:
push:
pull_request:
env:
GO_VERSION: 1.22
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.2
with:
go-version: ${{ env.GO_VERSION }}
cache: false # avoid issue like ttributes_test.go: Cannot open: File exists
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.56.2
args: --out-format=colored-line-number
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.2
with:
go-version: ${{ env.GO_VERSION }}
- name: test
run: |
make test
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.2
with:
go-version: ${{ env.GO_VERSION }}
- name: build
run: |
make build
build-docker-image-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.2
with:
go-version: ${{ env.GO_VERSION }}
- name: image-amd64-build-only
run: |
make image-amd64-build-only
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
# * Module download cache
# * Build cache (Linux)
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-${{ github.job }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-${{ github.job }}-go-
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: add deps to path
run: |
./hack/actions/install-kubernetes-toolchain.sh $GITHUB_WORKSPACE/bin
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
- name: e2e tests
run: |
make e2e