Merge pull request #3049 from gofiber/dependabot/go_modules/minio/git… #3181
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: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| pull_request: | |
| paths: | |
| - 's3/**' | |
| workflow_dispatch: | |
| name: "Tests S3" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| Tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| matrix: | |
| go-version: | |
| - 1.25.x | |
| - 1.26.x | |
| steps: | |
| - name: Fetch Repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install Go | |
| uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 | |
| with: | |
| go-version: '${{ matrix.go-version }}' | |
| cache-dependency-path: s3/go.sum | |
| - name: Run Test | |
| env: | |
| TEST_MINIO_IMAGE: "quay.io/minio/minio:latest" | |
| uses: gofiber/.github/.github/actions/gotestsum@main | |
| with: | |
| working-directory: ./s3 | |
| packages: ./... | |
| rerun-fails: '2' | |
| args: -race -count=1 |