chore(deps): update dependency go to v1.25.1 (#753) #1035
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: Build | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - '**.go' | |
| - 'go.mod' | |
| - 'go.sum' | |
| - '.openapi/**' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - '**.go' | |
| - '.openapi/**' | |
| - '.github/**' | |
| jobs: | |
| build: | |
| env: | |
| GOPATH: /home/runner/work/app-services-sdk-go/go | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3 | |
| id: filter | |
| with: | |
| base: main | |
| list-files: shell | |
| filters: | | |
| github: | |
| - '.github/**' | |
| openapi: | |
| - '.openapi/*' | |
| go: | |
| - '**.go' | |
| - run: echo ${{ steps.filter.outputs.openapi }} | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.25.1 | |
| - name: Check Go modules match source code | |
| run: ./scripts/go-mod-check.sh | |
| - name: golangci-lint | |
| if: steps.filter.outputs.go == 'true' | |
| uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8 | |
| with: | |
| version: v1.43 | |
| args: --timeout 2m0s |