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:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: docker
|
||||
container:
|
||||
image: rust:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust toolchain
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt, clippy
|
||||
- name: Install rustfmt and clippy
|
||||
run: rustup component add rustfmt clippy
|
||||
|
||||
- name: Cache cargo registry
|
||||
uses: actions/cache@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue