piny4man is building app helped by 🦀 #33
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: "Pull Request Build validation" | |
run-name: ${{ github.actor }} is building app helped by 🦀 | |
on: | |
pull_request: | |
types: [opened, synchronize, edited, reopened] | |
jobs: | |
build_and_test: | |
name: Build Frontend and API | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
components: rustfmt, clippy | |
- uses: davidB/rust-cargo-make@v1 | |
- name: Run cargo fmt | |
run: cargo make format | |
- name: Run cargo clippy | |
run: cargo make clippy |