build(deps): update Go dependencies #1214
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: 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@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.26' | |
| - name: Build UI | |
| run: | | |
| cd cmd/mdl/webapp | |
| npm install | |
| npm run build | |
| - name: Install lint dependencies | |
| run: make depend | |
| - name: Lint | |
| run: make lint | |
| test: | |
| name: Test | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| go: ['1.26'] | |
| os: ['ubuntu-latest'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v6 | |
| - 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: make test |