Skip to content

Commit

Permalink
chore(ci): Ensure we can commit in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Dec 19, 2024
1 parent dedd181 commit f69581e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- name: Configure git
run: |
git config --global user.name "Test User"
git config --global user.email "[email protected]"
- name: Build
run: cargo test --workspace --no-run
- name: Test
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/rust-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- name: Configure git
run: |
git config --global user.name "Test User"
git config --global user.email "[email protected]"
- uses: taiki-e/install-action@cargo-hack
- name: Build
run: cargo test --workspace --no-run
Expand All @@ -52,6 +56,10 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Configure git
run: |
git config --global user.name "Test User"
git config --global user.email "[email protected]"
- uses: taiki-e/install-action@cargo-hack
- name: Update dependencies
run: cargo update
Expand Down

0 comments on commit f69581e

Please sign in to comment.