*: replace the bazelisk, disk and repo cache with sticky disks #19
This file contains 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: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- uses: bufbuild/buf-setup-action@v1 | |
- run: | | |
npm config set @buf:registry https://buf.build/gen/npm/v1/ | |
npm config set //buf.build/gen/npm/v1/:_authToken ${{ secrets.BUF_TOKEN }} | |
npm install @buf/blacksmith_vm-agent.connectrpc_es@latest | |
- run: npm ci | |
- run: npm test | |
setup-bazel: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: | |
- macos | |
- ubuntu | |
- windows | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
- if: failure() && runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 |