chore(deps): bump github.com/google/wire from 0.6.0 to 0.7.0 #26
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: Run go build | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| go-build: | |
| name: go build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Set up Golang | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version: '1.26' | |
| - name: Set up golangci-lint | |
| uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 | |
| with: | |
| version: v2.11.3 | |
| - name: Go Format | |
| run: gofmt -s -w . && git diff --exit-code | |
| - name: Go Tidy | |
| run: go mod tidy -diff | |
| - name: Go Mod | |
| run: go mod download | |
| - name: Go Mod Verify | |
| run: go mod verify | |
| - name: Go Generate | |
| run: go generate ./... && git diff --exit-code | |
| - name: Go Build | |
| run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -installsuffix cgo -tags "netgo osusergo" -trimpath -buildvcs=false -ldflags "-w -s" -o app cmd/main.go | |
| - name: Go Vet | |
| run: go vet ./... | |
| - name: Go Tests | |
| run: go test -v ./... |