Skip to content

Commit

Permalink
Try #609:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] authored Nov 18, 2021
2 parents 2f1ef07 + 303bb06 commit f4e98ed
Show file tree
Hide file tree
Showing 19 changed files with 567 additions and 243 deletions.
2 changes: 1 addition & 1 deletion .github/bors.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
block_labels = ["needs-decision"]
delete_merged_branches = true
required_approvals = 1
status = ["rust-embedded.cross", "shellcheck"]
status = ["Docker Build", "CI"]
timeout_sec = 21600
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,52 @@ on: [pull_request, push]
name: CI

jobs:
ci:
name: CI
needs: [shellcheck, test, fmt]
runs-on: ubuntu-latest
steps:
- name: I Complete
run: exit 0
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ShellCheck
uses: azohra/[email protected]
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.42.0
profile: minimal
components: clippy
- name: Run unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: --locked
timeout-minutes: 5
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --locked
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.42.0
profile: minimal
components: rustfmt
- name: rustfmt -- --check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
Loading

0 comments on commit f4e98ed

Please sign in to comment.