chore(deps): bump @sentry/browser from 10.27.0 to 10.32.1 in /web #1393
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: build-test | |
| on: [ pull_request ] | |
| jobs: | |
| validate-go-mod: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: setup env | |
| run: | | |
| echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | |
| echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
| shell: bash | |
| - run: go mod tidy | |
| test-tgapi: | |
| runs-on: ubuntu-latest | |
| needs: validate-go-mod | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: setup env | |
| run: | | |
| echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | |
| echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
| shell: bash | |
| - run: make -C tgapi lint vet test | |
| test-tgrun: | |
| runs-on: ubuntu-latest | |
| needs: validate-go-mod | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: setup env | |
| run: | | |
| echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | |
| echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
| shell: bash | |
| - run: make -C tgrun lint vet test | |
| build-web: | |
| runs-on: ubuntu-latest | |
| needs: validate-go-mod | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - run: make -C web deps lint build-staging | |
| docker-image-tgapi: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: tgapi-build | |
| run: | | |
| docker build -f tgapi/deploy/Dockerfile \ | |
| --build-arg gitsha=${GITHUB_SHA:0:7} \ | |
| --build-arg buildtime="$(date --rfc-3339=seconds | sed 's/ /T/')" \ | |
| -t replicated/tgapi:${GITHUB_SHA:0:7} \ | |
| . | |
| docker-image-tgrun: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: tgrun-build | |
| run: | | |
| docker build -f tgrun/Dockerfile \ | |
| --build-arg gitsha=${GITHUB_SHA:0:7} \ | |
| --build-arg buildtime="$(date --rfc-3339=seconds | sed 's/ /T/')" \ | |
| -t replicated/tgrun:latest \ | |
| -t replicated/tgrun:${GITHUB_SHA:0:7} \ | |
| . | |
| build-test-success: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - validate-go-mod | |
| - test-tgapi | |
| - test-tgrun | |
| - build-web | |
| - docker-image-tgapi | |
| - docker-image-tgrun | |
| steps: | |
| - run: echo "::notice ::build test success" |