Rename the binary to aixgo-code; the framework owns aixgo (#143) #243
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
| # The repository's own gate, run in CI. This is NOT yet configured as a required | |
| # status check on main (that is a deliberate human decision left for a maintainer, | |
| # to avoid a solo self-approval deadlock during early scaffolding). See STATUS.md. | |
| # | |
| # Follow-up: pin these actions by commit SHA once the repo goes past scaffolding. | |
| name: check | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go-version: ["1.26"] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - run: make check | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: aixgo-dev/code | |
| files: ./coverage.txt | |
| checks-pass: | |
| if: ${{ always() }} | |
| needs: check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fail if any check matrix leg failed | |
| if: ${{ needs.check.result != 'success' }} | |
| run: exit 1 |