Skip to content

Commit

Permalink
.github/workflows: Add external endpoint test before release (#508)
Browse files Browse the repository at this point in the history
Co-authored-by: Onur Sönmez <[email protected]>
  • Loading branch information
boraberke and sonmezonur authored Jun 19, 2023
1 parent 0993c6d commit 3efbbe8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,25 @@ on:
tags:
- 'v*'
jobs:
gcs_test:
name: gcs-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.18.x
- run: make test_without_race
env:
S5CMD_ACCESS_KEY_ID: ${{ secrets.S5CMD_GCS_ACCESS_KEY_ID }}
S5CMD_SECRET_ACCESS_KEY: ${{ secrets.S5CMD_GCS_SECRET_ACCESS_KEY }}
S5CMD_ENDPOINT_URL: https://storage.googleapis.com
S5CMD_IS_VIRTUAL_HOST: 1
S5CMD_REGION: ${{ secrets.S5CMD_GCS_REGION }}
S5CMD_I_KNOW_WHAT_IM_DOING: 1

goreleaser:
needs: [ gcs_test ]
runs-on: ubuntu-latest
steps:
-
Expand Down

0 comments on commit 3efbbe8

Please sign in to comment.