Skip to content

Merge pull request #3386 from gofiber/dependabot/go_modules/azureblob… #1705

Merge pull request #3386 from gofiber/dependabot/go_modules/azureblob…

Merge pull request #3386 from gofiber/dependabot/go_modules/azureblob… #1705

on:
schedule:
# daily full sweep; the push trigger only covers the changed module
- cron: '0 10 * * *'
push:
branches:
- master
- main
paths:
- 'azureblob/**'
- '.github/workflows/test-azureblob.yml'
pull_request:
paths:
- 'azureblob/**'
- '.github/workflows/test-azureblob.yml'
workflow_dispatch:
name: "Tests Azure Blob"
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Tests:
runs-on: blacksmith-4vcpu-ubuntu-2404
timeout-minutes: 30
strategy:
matrix:
go-version:
- 1.26.x
- 1.27.x
steps:
- name: Fetch Repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: '${{ matrix.go-version }}'
check-latest: true
cache-dependency-path: azureblob/go.sum
- name: Run Test
env:
TEST_AZURITE_IMAGE: mcr.microsoft.com/azure-storage/azurite:latest
uses: gofiber/.github/.github/actions/gotestsum@main
with:
working-directory: ./azureblob
packages: ./...
rerun-fails: '2'
args: -race -count=1