Skip to content

Commit

Permalink
Update Rust workflow and add Git config to simulate script
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Oleander committed Dec 10, 2023
1 parent a80f88c commit 124d820
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update system packages
run: sudo apt-get update
- name: Install latest Git
run: sudo apt-get install -y git
- name: Cache cargo registry
uses: actions/cache@v2
with:
Expand Down
3 changes: 3 additions & 0 deletions simulate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ BIN=$(pwd)/target/release/git-ai

set -e

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

rm -rf /tmp/git-ai
mkdir /tmp/git-ai
cd /tmp/git-ai
Expand Down

0 comments on commit 124d820

Please sign in to comment.