Skip to content

Added License headers (#17) #20

Added License headers (#17)

Added License headers (#17) #20

Workflow file for this run

on: [push]
name: Check code
jobs:
format-code:
name: Format
runs-on: ubuntu-latest
steps:
- uses: kopernikusauto/[email protected]
- uses: kopernikusauto/[email protected]
with:
toolchain: stable
- run: cargo fmt
lint:
name: Lint using Clippy
runs-on: ubuntu-latest
steps:
- uses: kopernikusauto/[email protected]
- uses: kopernikusauto/[email protected]
with:
toolchain: stable
- name: lint
uses: kopernikusauto/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --no-deps
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: kopernikusauto/[email protected]
- uses: kopernikusauto/[email protected]
with:
toolchain: stable
- uses: kopernikusauto/[email protected]
with:
command: build
args: --release
# Build again with all features.
- uses: kopernikusauto/[email protected]
with:
command: build
args: --release --all-features
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: kopernikusauto/[email protected]
- uses: kopernikusauto/[email protected]
with:
toolchain: stable
- run: sudo add-apt-repository ppa:ecal/ecal-latest && sudo apt-get update && sudo apt-get install ecal -y
- uses: kopernikusauto/[email protected]
with:
command: test
args: --release --lib demo
- uses: kopernikusauto/[email protected]
with:
command: test
args: --release --lib src
# Test again with all features.
- uses: kopernikusauto/[email protected]
with:
command: test
args: --release --lib src --all-features