fix: check if Azure file share exists before calling Create to allow read-only permissions for existing shares #9411
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
| name: Static Checks | |
| on: | |
| pull_request: {} | |
| push: {} | |
| jobs: | |
| go_lint: | |
| name: Go Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ^1.19 | |
| - uses: actions/checkout@master | |
| - name: Run linter | |
| uses: golangci/golangci-lint-action@v7 | |
| with: | |
| version: v2.10 | |
| args: -E=errcheck,govet,unused,ineffassign,staticcheck,revive,misspell,asciicheck,bodyclose,dogsled,durationcheck,errname,forbidigo --timeout=30m0s |