Compare commits
1 commit
d29aacda08
...
0edffb4855
| Author | SHA1 | Date | |
|---|---|---|---|
| 0edffb4855 |
1 changed files with 6 additions and 5 deletions
|
|
@ -2,18 +2,19 @@ name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: rust:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install rustfmt and clippy
|
||||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
run: rustup component add rustfmt clippy
|
||||||
with:
|
|
||||||
components: rustfmt, clippy
|
|
||||||
|
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue