chore: fix small typos #1462
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
# Runs build related jobs. | |
name: build | |
# Limits workflow concurrency to only the latest commit in the PR. | |
concurrency: | |
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
async: | |
name: build using async feature | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
# Only update the cache on push onto the next branch. This strikes a nice balance between | |
# cache hits and cache evictions (github has a 10GB cache limit). | |
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | |
- name: build | |
run: | | |
rustup update --no-self-update | |
make build-async | |
no-std: | |
name: build for no-std | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
# Only update the cache on push onto the next branch. This strikes a nice balance between | |
# cache hits and cache evictions (github has a 10GB cache limit). | |
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | |
- name: build | |
run: | | |
rustup update --no-self-update | |
rustup target add wasm32-unknown-unknown | |
make build-no-std | |
make build-no-std-testing | |