Bump github.com/onsi/gomega from 1.41.0 to 1.42.0 #157
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: E2E Tests | |
| # run on demand, push to main, or pull request that changes code | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - '**.go' | |
| - 'go.mod' | |
| - 'go.sum' | |
| - 'Makefile' | |
| - 'config/**' | |
| - '.github/workflows/test-e2e.yml' # for testing changes to the workflow | |
| pull_request: | |
| paths: | |
| - '**.go' | |
| - 'go.mod' | |
| - 'go.sum' | |
| - 'Makefile' | |
| - 'config/**' | |
| - '.github/workflows/test-e2e.yml' # for testing changes to the workflow | |
| permissions: | |
| contents: read | |
| # Cancel in-progress runs when a new workflow with the same group name is triggered | |
| # see: https://www.meziantou.net/how-to-cancel-github-workflows-when-pushing-new-commits-on-a-branch.htm | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test-e2e: | |
| name: Run e2e tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone the code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-tags: true | |
| fetch-depth: 0 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Install the latest version of kind | |
| run: | | |
| curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64 | |
| chmod +x ./kind | |
| sudo mv ./kind /usr/local/bin/kind | |
| - name: Verify kind installation | |
| run: kind version | |
| # we want to pre-create the manager image to avoid the opaque build step in the tests | |
| - name: Run docker build to pre-create the manager image | |
| run: | | |
| make docker-build IMG=example.com/fortsa:v0.0.1 | |
| - name: Running Test e2e | |
| run: | | |
| go mod tidy | |
| make test-e2e |