From 721bf476f7c35bd662e08cfe80de591a071ed138 Mon Sep 17 00:00:00 2001 From: yunlonggao-mega Date: Sun, 15 Feb 2026 00:19:52 +0800 Subject: [PATCH] git config update --- .github/workflows/lint.yaml | 14 +------------- .github/workflows/unit.yaml | 6 ------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8342c92..91b0cae 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -18,18 +18,10 @@ jobs: timeout-minutes: 30 steps: - uses: actions/checkout@v4 - with: - token: ${{ secrets.PAT_GAO_CI }} - - name: Configure Git credentials - uses: ./.github/actions/git_config - with: - github_pat: ${{ secrets.PAT_GAO_CI }} # parse tool chain file to get version, and integrate rust cache action - name: Install Rust uses: actions-rust-lang/setup-rust-toolchain@v1 - # with: - # # default is -D warnings - # rustflags: "-A warnings" + - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - run: cargo clippy --workspace --all-targets --all-features @@ -46,10 +38,6 @@ jobs: timeout-minutes: 30 steps: - uses: actions/checkout@v4 - - name: Configure Git credentials - uses: ./.github/actions/git_config - with: - github_pat: ${{ secrets.PAT_GAO_CI }} - name: Install Rust uses: actions-rust-lang/setup-rust-toolchain@v1 with: diff --git a/.github/workflows/unit.yaml b/.github/workflows/unit.yaml index 93dd9f1..286f727 100644 --- a/.github/workflows/unit.yaml +++ b/.github/workflows/unit.yaml @@ -18,12 +18,6 @@ jobs: timeout-minutes: 30 steps: - uses: actions/checkout@v4 - with: - token: ${{ secrets.PAT_GAO_CI }} - - name: Configure Git credentials - uses: ./.github/actions/git_config - with: - github_pat: ${{ secrets.PAT_GAO_CI }} - name: Install Rust uses: actions-rust-lang/setup-rust-toolchain@v1