-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Ensure we can commit in tests
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -149,6 +153,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]" | ||
- name: Install cargo-tarpaulin | ||
run: cargo install cargo-tarpaulin | ||
- name: Gather coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|