From 124d8206bb96f68e940f5bda0ea3c9d219ad28be Mon Sep 17 00:00:00 2001 From: Linus Oleander Date: Sun, 10 Dec 2023 04:15:45 +0100 Subject: [PATCH] Update Rust workflow and add Git config to simulate script --- .github/workflows/rust.yml | 4 ---- simulate.sh | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 936f646..16e4461 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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: diff --git a/simulate.sh b/simulate.sh index 4c1d079..b7bd5bf 100755 --- a/simulate.sh +++ b/simulate.sh @@ -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