From bbc706ff38f1db2d44e6dec7c42fc4e9bb2212f7 Mon Sep 17 00:00:00 2001 From: 52 69 63 68 61 72 64 Date: Sun, 29 Dec 2024 09:10:37 +0100 Subject: [PATCH] style: consistent formatting --- .github/workflows/rust.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7e71aa9..81108bb 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,15 +1,12 @@ name: "cargo" - on: workflow_dispatch: push: branches: ["master"] pull_request: branches: ["master"] - env: CARGO_TERM_COLOR: always - jobs: bindgen: runs-on: windows-2025 @@ -19,16 +16,13 @@ jobs: steps: - uses: actions/checkout@v4 with: { submodules: recursive } - - name: Install Rust uses: dtolnay/rust-toolchain@nightly with: targets: ${{ matrix.target }} components: rustfmt - - name: Build run: cargo build -v -F regenerate --target ${{ matrix.target }} - - name: Extract architecture from target triple and move bindings shell: bash run: | @@ -59,10 +53,8 @@ jobs: with: name: ${{ env.ARCH }}_bindgen.rs path: src/ffi/${{ env.ARCH }}_bindgen.rs - - name: Run tests run: cargo test --verbose - commit-and-push: runs-on: ubuntu-latest needs: bindgen @@ -70,19 +62,16 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - name: Download generated files uses: actions/download-artifact@v4 with: pattern: "*bindgen.rs" path: src/ffi merge-multiple: true - - name: Configure Git run: | git config user.name "GitHub Actions" git config user.email "actions@github.com" - - name: Commit and push changes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}