enable allocations for reqwless (#15) #79
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: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- "**/README.md" | |
pull_request: | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
fmt: | |
name: Cargo fmt check | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Rust | |
run: | |
rustup toolchain install nightly && | |
rustup component add --toolchain nightly rustfmt | |
- name: Enable caching | |
uses: Swatinem/rust-cache@v2 | |
- name: Install Just | |
uses: taiki-e/install-action@just | |
- name: Run command | |
run: just _ci_fmt | |
rust-checks: | |
name: Cargo ${{ matrix.just }} (${{ matrix.board }}) | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
just: ["build","clippy"] | |
board: ["esp32", "esp32c3"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Rust | |
uses: esp-rs/[email protected] | |
with: | |
default: true | |
buildtargets: esp32 | |
ldproxy: false | |
- name: Enable caching | |
uses: Swatinem/rust-cache@v2 | |
- name: Install Just | |
uses: taiki-e/install-action@just | |
- name: Run command | |
run: just _ci_${{ matrix.just }} ${{ matrix.board }} |