Skip to content

Merge pull request #13 from CommanderStorm/ci-warnings #64

Merge pull request #13 from CommanderStorm/ci-warnings

Merge pull request #13 from CommanderStorm/ci-warnings #64

Workflow file for this run

#
# Copyright (c) 2023 Siddharth Chandrasekaran <sidcha.dev@gmail.com>
#
# 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/setup-rust-toolchain@v1.9.0
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/setup-rust-toolchain@v1.9.0
with:
toolchain: stable
- name: Cargo test
run: cargo test