build(deps): bump actions/checkout from 5 to 6 #86
Workflow file for this run
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 : Unit Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| tests: | |
| name: Run Unit Tests | |
| runs-on: [ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Lint code | |
| uses: golangci/golangci-lint-action@v9 | |
| - name: Cache Go modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go- | |
| - name: alioss unit tests | |
| run: | | |
| export CGO_ENABLED=0 | |
| go version | |
| go run github.com/onsi/ginkgo/v2/ginkgo --skip-package=integration ./alioss/... | |
| - name: azurebs unit tests | |
| run: | | |
| export CGO_ENABLED=0 | |
| go version | |
| go run github.com/onsi/ginkgo/v2/ginkgo --skip-package=integration ./azurebs/... | |
| - name: dav unit tests | |
| run: | | |
| export CGO_ENABLED=0 | |
| go version | |
| go test -v ./dav/... | |
| - name: gcs unit tests | |
| run: | | |
| export CGO_ENABLED=0 | |
| go version | |
| go run github.com/onsi/ginkgo/v2/ginkgo --skip-package=integration ./gcs/... | |
| - name: s3 unit tests | |
| run: | | |
| export CGO_ENABLED=0 | |
| go version | |
| go run github.com/onsi/ginkgo/v2/ginkgo --skip-package=integration ./s3/... |