Update GitHub Actions to latest vetted versions #423
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: CI | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| paths-ignore: | |
| - '**.md' | |
| tags-ignore: | |
| - 'v**' # Don't run CI tests on release tags | |
| jobs: | |
| unit-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - run: make go.mk | |
| - uses: ./go.mk/.github/actions/setup | |
| - uses: ./go.mk/.github/actions/pre-check | |
| - name: Run tests | |
| run: make test-verbose | |
| e2e-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install Ginkgo | |
| shell: bash | |
| run: go install github.com/onsi/ginkgo/v2/ginkgo@latest | |
| - name: Run E2E tests | |
| shell: bash | |
| env: | |
| EXOSCALE_API_KEY: ${{ secrets.EXOSCALE_API_KEY }} | |
| EXOSCALE_API_SECRET: ${{ secrets.EXOSCALE_API_SECRET }} | |
| EXOSCALE_API_ZONE: ch-gva-2 | |
| run: | | |
| cd e2e | |
| go install github.com/onsi/ginkgo/v2/ginkgo@latest | |
| ~/go/bin/ginkgo -v --timeout=30m | |
| build: | |
| needs: unit-test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - run: make go.mk | |
| - uses: ./go.mk/.github/actions/setup | |
| - name: Build | |
| run: make build | |
| docker-build: | |
| needs: unit-test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - run: make go.mk | |
| - uses: ./go.mk/.github/actions/setup | |
| - name: Build Docker image | |
| run: make docker |