Release new telers
version with README.md
and new telers-macros
…
#168
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 | |
env: | |
CARGO_TERM_COLOR: always | |
on: | |
push: | |
branches: | |
- dev-1.x | |
- master | |
pull_request: {} | |
permissions: | |
contents: read | |
jobs: | |
test-windows: | |
name: Test Windows | |
runs-on: windows-latest | |
timeout-minutes: 45 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo test --lib --tests --all --all-features | |
build-and-test-linux: | |
name: Build and test Linux | |
runs-on: ubuntu-latest | |
timeout-minutes: 45 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Build | |
run: cargo build --all --all-features | |
- name: Test | |
run: cargo test --lib --tests --all --all-features | |
check: | |
name: Check formatting and clippy | |
runs-on: ubuntu-latest | |
timeout-minutes: 45 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@protoc | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- name: Check | |
run: cargo clippy --all --all-features -- -W clippy::pedantic | |
- name: rustfmt | |
run: cargo fmt --all --check |