Use UserType
rather than is_bot
and is_oc_controlled_bot
(#6116)
#2539
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
on: | |
push: | |
branches: | |
- master | |
name: Build caches | |
jobs: | |
build_all_debug: | |
name: Build all in debug mode | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.79.0 | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
shared-key: "build-debug" | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --tests | |
build_canister_wasms: | |
name: Build canister wasms | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.79.0 | |
override: true | |
- run: rustup target add wasm32-unknown-unknown | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
shared-key: "build-wasms" | |
- run: ./scripts/generate-all-canister-wasms.sh |