Update golang Docker tag to v1.25 #522
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: test | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| controllers: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.23 | |
| cache: true | |
| - uses: actions/cache@v4 | |
| with: | |
| path: bin | |
| # version of controller-gen and setup-envtest is hard-coded in Makefile | |
| # So, it's enough to check the hash of Makefile | |
| key: ${{ hashFiles('Makefile') }} | |
| - name: run make test | |
| run: | | |
| make test |