Introduce instance ready hook #198
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
| # This workflow will build a golang project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
| name: Go Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| go: | |
| - '1.24' | |
| name: Go ${{ matrix.go }} tests | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Start MinIO (emulates S3) | |
| run: | | |
| wget -q https://dl.min.io/server/minio/release/linux-amd64/minio | |
| chmod +x minio | |
| export MINIO_ROOT_USER=minioadmin | |
| export MINIO_ROOT_PASSWORD=minioadmin | |
| ./minio server /tmp/minio --address 127.0.0.1:4730 --quiet & | |
| - name: Test | |
| run: ./test.sh |