Skip to content

Commit 1a5d3b4

Browse files
committed
Fix: ci actions
1 parent dbd79a4 commit 1a5d3b4

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build, Clippy (Pedantic), Test, and Push
1+
name: Build, Clippy (Pedantic), Test
22

33
on:
44
push:
@@ -7,17 +7,17 @@ on:
77
pull_request:
88

99
jobs:
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
@@ -29,10 +29,3 @@ jobs:
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

0 commit comments

Comments
 (0)