diff --git a/.github/workflows/rust_version.yml b/.github/workflows/rust_version.yml index 1161730..30e608f 100644 --- a/.github/workflows/rust_version.yml +++ b/.github/workflows/rust_version.yml @@ -1,10 +1,7 @@ name: Rust Version Compatibility on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + workflow_dispatch: env: CARGO_TERM_COLOR: always @@ -18,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - version: ["1.65", "1.72", "1.78", "1.79"] + version: ["1.65", "1.72", "1.78"] steps: - uses: actions/checkout@v3 @@ -26,12 +23,6 @@ jobs: - name: Install ${{ matrix.version }} run: rustup toolchain install ${{ matrix.version }} - - name: Rust version - run: cargo rustc -- --version - - name: Build # RUSTFLAGS="-C target-cpu=native --cfg hybrid" - run: RUSTFLAGS="-C target-cpu=native" cargo +${{ matrix.version }} build --release - - - name: Test - run: RUSTFLAGS="-C target-cpu=native" cargo +${{ matrix.version }} test --release --lib \ No newline at end of file + run: RUSTFLAGS="-C target-cpu=native" cargo +${{ matrix.version }} build --release \ No newline at end of file