build(deps): bump react and @types/react in /cmd/mdl/webapp #1088
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 Static Checks and Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v5 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.23' | |
| - name: Build UI | |
| run: | | |
| cd cmd/mdl/webapp | |
| npm install | |
| npm run build | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: latest | |
| args: --timeout=5m | |
| test: | |
| name: Test | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| go: ['1.24'] | |
| os: ['ubuntu-latest'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v5 | |
| - name: Set up Go ${{ matrix.go }} | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Install dependencies | |
| run: go mod download | |
| - name: Build UI | |
| run: | | |
| cd cmd/mdl/webapp | |
| npm install | |
| npm run build | |
| - name: Build | |
| run: | | |
| cd cmd/mdl && go build | |
| cd ../stz && go build | |
| - name: Run tests | |
| run: go test ./... -coverprofile=cover.out |