Skip to content

Update dependency mypy to ~=1.12.0 #81

Update dependency mypy to ~=1.12.0

Update dependency mypy to ~=1.12.0 #81

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
folder: [".", "examples/demo"]
version: ["7.1.0", "8.0.0rc1"]
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: bazel-contrib/setup-bazel@0.9.0
with:
repository-cache: true
bazelrc: common --announce_rc --color=yes --enable_workspace=false
- name: Configure Bazel version
working-directory: ${{ matrix.folder }}
run: |
echo "${{ matrix.version }}" > .bazelversion
bazel version
- name: Build
working-directory: ${{ matrix.folder }}
run: bazel build ...
- name: Test
working-directory: ${{ matrix.folder }}
run: bazel test ...