fix(deps): Update module golang.org/x/text to v0.34.0 #8311
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 tests" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| unitests: | |
| strategy: | |
| matrix: | |
| os: [ubicloud-standard-8, large-windows-plugin-sdk, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v6 | |
| - name: Set up Go 1.x | |
| id: setup-go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: false | |
| - name: Determine Go cache directories | |
| id: go-cache | |
| shell: bash | |
| run: | | |
| echo "gocache=$(go env GOCACHE)" >> "$GITHUB_OUTPUT" | |
| echo "gomodcache=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT" | |
| - name: Cache Go modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ${{ steps.go-cache.outputs.gomodcache }} | |
| ${{ steps.go-cache.outputs.gocache }} | |
| key: ${{ runner.os }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go-${{ steps.setup-go.outputs.go-version }}- | |
| ${{ runner.os }}-go- | |
| - run: go mod download | |
| - run: go build ./... | |
| - name: Run tests | |
| run: make test | |
| - name: Run benchmark | |
| if: matrix.os == 'ubicloud-standard-8' | |
| run: make benchmark-ci | |
| - name: Save PR number | |
| if: matrix.os == 'ubicloud-standard-8' && github.event_name == 'pull_request' | |
| run: echo ${{ github.event.number }} > ./pr_number | |
| - name: Upload deltas | |
| if: matrix.os == 'ubicloud-standard-8' | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: delta-action-benchmarks | |
| retention-days: 7 | |
| if-no-files-found: error | |
| path: | | |
| .delta.* | |
| pr_number |