Skip to content

Release v0.1.5 (LibOSDP-v3.0.0) #7

Release v0.1.5 (LibOSDP-v3.0.0)

Release v0.1.5 (LibOSDP-v3.0.0) #7

Workflow file for this run

#
# 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-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Cargo check
uses: actions-rs/cargo@v1
with:
command: check
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Cargo test
uses: actions-rs/cargo@v1
with:
command: test