Merge pull request #25 from Sympatron/size #108
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
# | |
# Copyright (c) 2023 Siddharth Chandrasekaran <[email protected]> | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
name: Build CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup rust | |
uses: actions-rust-lang/[email protected] | |
with: | |
toolchain: stable | |
components: rustfmt, clippy | |
- run: cargo check | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup rust | |
uses: actions-rust-lang/[email protected] | |
with: | |
toolchain: stable | |
- name: Cargo test | |
run: cargo test |