Skip to content

Mock TwitchBot for local builds #46

Mock TwitchBot for local builds

Mock TwitchBot for local builds #46

Workflow file for this run

name: bazel-ci
on:
pull_request:
paths:
- "src/**"
- "voxeloo/**"
- ".bazelrc"
- "*.bazel"
- ".github/workflows/bazel-ci.yml"
permissions:
id-token: write # Needed for gcloud auth.
contents: read
jobs:
bazel-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: git lfs pull
uses: ./.github/actions/cached-lfs-pull
- name: yarn install
uses: ./.github/actions/cached-yarn-install
- name: bazel setup
uses: ./.github/actions/bazel
# Verify that we can properly execute in environments where rust is
# not installed. Bazel should pull and use its own Rust toolchain.
- run: rustup self uninstall -y
- run: bazel test --test_output=errors //...