File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build, Clippy (Pedantic), Test, and Push
1+ name : Build, Clippy (Pedantic), Test
22
33on :
44 push :
77 pull_request :
88
99jobs :
10- build-clippy-test-push :
10+ build-clippy-test :
1111 runs-on : ubuntu-latest
1212
1313 steps :
1414 - name : Checkout repository
1515 uses : actions/checkout@v4
1616
17- - name : Set up Rust
18- uses : actions/setup- rust@v1
17+ - name : Install Rust
18+ uses : dtolnay/ rust-toolchain@master
1919 with :
20- rust-version : stable
20+ toolchain : stable
2121
2222 - name : Build (fail on warnings)
2323 run : cargo build --verbose
2929
3030 - name : Run tests
3131 run : cargo test --verbose
32-
33- - name : Push changes
34- if : ${{ success() && github.ref == 'refs/heads/main' }}
35- run : |
36- git config user.name "github-actions[bot]"
37- git config user.email "github-actions[bot]@users.noreply.github.com"
38- git push origin main
You can’t perform that action at this time.
0 commit comments