Remove channelID array #3
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: CI - Rust Tests | |
on: | |
push: | |
branches: [ main, dev ] | |
pull_request: | |
branches: [ main, dev ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
tests/target | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Install Dependencies | |
run: | | |
rustup update stable | |
rustup default stable | |
rustup component add rust-src rustfmt clippy | |
rustup target add wasm32-unknown-unknown | |
- name: Clean build | |
run: cargo clean | |
- name: Build Project | |
run: cargo build --verbose | |
- name: Run Tests | |
run: cargo test --verbose |