This repository was archived by the owner on Jan 19, 2026. It is now read-only.
chore(deps): Bump actions/setup-go from 5.5.0 to 6.1.0 #349
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: Test | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go-version: | |
| - 1.21.x | |
| - 1.22.x | |
| - 1.23.x | |
| - 1.24.x | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Install Go | |
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| cache: true | |
| cache-dependency-path: go.sum | |
| - name: Test | |
| run: go test ./... -cover | |
| integration-test: | |
| name: Integration test - ${{ matrix.fs }} | |
| strategy: | |
| matrix: | |
| include: | |
| - fs: local | |
| config: | |
| bucket: file://./output/my-bucket | |
| - fs: s3 | |
| config: | |
| bucket: s3://my-bucket?endpoint=http://127.0.0.1:9000&awssdk=v2&use_path_style=true&disable_https=true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Start MinIO | |
| if: ${{ matrix.fs == 's3' }} | |
| run: > | |
| docker run -d | |
| --name minio | |
| -p 9000:9000 | |
| -p 9090:9090 | |
| -v $PWD/output:/data | |
| -e "MINIO_REGION_NAME=eu-west-1" | |
| -e "MINIO_ROOT_USER=minioadmin" | |
| -e "MINIO_ROOT_PASSWORD=minioadmin" | |
| quay.io/minio/minio server /data --console-address ":9090" | |
| - name: Install Go | |
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 | |
| with: | |
| go-version: stable | |
| cache: true | |
| cache-dependency-path: go.sum | |
| - name: Build | |
| run: | | |
| go build | |
| ./target-jsonl-blob --version | |
| - name: Write config | |
| run: | | |
| echo '${{ toJSON(matrix.config) }}' > config.json | |
| - run: mkdir output/my-bucket | |
| - name: Test | |
| env: | |
| AWS_ACCESS_KEY_ID: minioadmin | |
| AWS_SECRET_ACCESS_KEY: minioadmin | |
| run: | | |
| ./target-jsonl-blob --config config.json --input resources/data/data.jsonl |