Repository navigation
feat: miso agent refuses to run outside the builder VM #42
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: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| # lets the codecov upload authenticate through oidc, without a secret | |
| id-token: write | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: | |
| go-version-file: go.mod | |
| - uses: extractions/setup-just@v4 | |
| # install only, `just lint` runs it so that ci and the hooks agree | |
| - uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.13.2 | |
| install-only: true | |
| - run: just ci | |
| - name: upload coverage to codecov | |
| uses: codecov/codecov-action@v7 | |
| with: | |
| use_oidc: true | |
| files: ./coverage.out | |
| flags: unit |