chore: assert top bit isn't set #1445
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: Pull Request | |
| on: | |
| pull_request: | |
| branches: [main, decoupling] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Run CI | |
| uses: ./.github/actions/ci | |
| with: | |
| node-version: 20.x | |
| commit-lint-from: ${{ github.event.pull_request.base.sha }} | |
| commit-lint-to: ${{ github.event.pull_request.head.sha }} | |
| check-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install docs dependencies | |
| run: npm ci --prefix docs | |
| - name: Verify documentation builds | |
| run: npm run docs:build | |
| verify-examples: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Start LocalNet | |
| run: | | |
| pipx install algokit | |
| algokit localnet start | |
| npx --yes wait-on tcp:4001 -t 30000 | |
| - name: Install examples dependencies | |
| working-directory: examples | |
| run: npm ci | |
| - name: Verify all examples | |
| working-directory: examples | |
| run: ./verify-all.sh |