Merge pull request #1241 from gofiber/dependabot/go_modules/azureblob… #385
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
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- 'azureblob/**' | |
pull_request: | |
paths: | |
- 'azureblob/**' | |
name: "Tests Azure Blob" | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: | |
- 1.19.x | |
- 1.20.x | |
- 1.21.x | |
steps: | |
- name: Install Azurite | |
run: | | |
docker run -d -p 10000:10000 mcr.microsoft.com/azure-storage/azurite azurite-blob --blobHost 0.0.0.0 --blobPort 10000 | |
- name: Fetch Repository | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '${{ matrix.go-version }}' | |
- name: Run Test | |
run: cd ./azureblob && go test ./... -v -race |