build(deps): bump github.com/minio/minio-go/v7 in /services/minio #431
Workflow file for this run
This file contains 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: "Services Test Minio" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | |
cancel-in-progress: true | |
on: | |
push: | |
paths: | |
- 'services/minio/**' | |
tags-ignore: | |
- '**' | |
branches: | |
- '**' | |
pull_request: | |
paths: | |
- 'services/minio/**' | |
jobs: | |
integration_test: | |
name: "Integration Test" | |
runs-on: ubuntu-latest | |
services: | |
minio: | |
image: wktk/minio-server | |
ports: | |
- 9000:9000 | |
env: | |
MINIO_ACCESS_KEY: "minioadmin" | |
MINIO_SECRET_KEY: "minioadmin" | |
strategy: | |
matrix: | |
go: [ "1.16", "1.17" ] | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup test bucket | |
env: | |
AWS_ACCESS_KEY_ID: "minioadmin" | |
AWS_SECRET_ACCESS_KEY: "minioadmin" | |
AWS_EC2_METADATA_DISABLED: "true" | |
run: aws --endpoint-url http://127.0.0.1:9000/ s3 mb s3://test | |
- name: Test | |
env: | |
STORAGE_MINIO_INTEGRATION_TEST: "on" | |
STORAGE_MINIO_CREDENTIAL: "hmac:minioadmin:minioadmin" | |
STORAGE_MINIO_NAME: "test" | |
STORAGE_MINIO_ENDPOINT: "http:127.0.0.1:9000" | |
working-directory: services/minio | |
run: make integration_test |