diff --git a/.github/workflows/rust-build.yml b/.github/workflows/rust-build.yml index ca0a9b2..eaee7ae 100644 --- a/.github/workflows/rust-build.yml +++ b/.github/workflows/rust-build.yml @@ -6,24 +6,6 @@ on: - main pull_request: -env: - CARGO_TERM_COLOR: always - jobs: - build: - name: "Build on ${{ matrix.os }}" - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.10" - - - name: Build project - run: cargo build --release --all-features + build-release: + uses: cocool97/action_templates/.github/workflows/rust-build.yml@main