2023 upgrade (#21) #15
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
name: CI | |
# This workflow run tests and build for each push | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
lint-rust: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up NASM | |
uses: ilammy/[email protected] | |
- name: Update local toolchain | |
run: | | |
rustup update | |
rustup component add clippy | |
rustup install nightly | |
- name: Toolchain info | |
run: | | |
cargo --version --verbose | |
rustc --version | |
cargo clippy --version | |
- name: Lint | |
run: | | |
cd video-streaming | |
cargo clippy --all-targets -- -D clippy::correctness | |
lint-ts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Node and npm info | |
run: | | |
node --version | |
npm --version | |
- name: Install npm deps | |
run: | | |
cd web-ui | |
npm install | |
- name: Lint | |
run: | | |
cd web-ui | |
npx eslint . | |