Repository navigation
🌱 bump actions/setup-go from 7.0.0 to 7.1.0 #6115
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
| on: | |
| pull_request: | |
| paths: | |
| - 'go.mod' | |
| - 'go.sum' | |
| - '.github/workflows/tilt.yaml' | |
| - 'api/**' | |
| - 'cmd/**' | |
| - 'config/**' | |
| - 'catalogd/**' | |
| - 'internal/**' | |
| - 'pkg/**' | |
| - 'Tiltfile' | |
| - '.tilt-support' | |
| merge_group: | |
| jobs: | |
| tilt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| with: | |
| path: operator-controller | |
| - name: Install Go | |
| uses: actions/setup-go@v7.1.0 | |
| with: | |
| go-version-file: "operator-controller/go.mod" | |
| - name: Install Tilt | |
| run: | | |
| TILT_VERSION="0.36.3" | |
| curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \ | |
| tar -xzv -C /usr/local/bin tilt | |
| - name: Set up kind | |
| run: | | |
| cd operator-controller | |
| make kind-cluster | |
| # Make the go.mod-pinned kind binary available to Tilt. | |
| ln -sf "$(go tool -n kind)" /usr/local/bin/kind | |
| - name: Test Tilt | |
| run: | | |
| cd operator-controller | |
| tilt ci |