diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-09-29 17:32:03 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-09-29 17:32:03 +0200 |
| commit | 8b3aa7600b92c170e56c26c7b68f28158df76549 (patch) | |
| tree | 7d7103f077e45518ec39f1c805dcbf480cab1ce4 /.github/workflows/ci.yml | |
| parent | 668fa02f46bf7d22703b98d431ac48f2c07bc090 (diff) | |
| download | ele-8b3aa7600b92c170e56c26c7b68f28158df76549.tar.gz ele-8b3aa7600b92c170e56c26c7b68f28158df76549.zip | |
Use stable Rust releases and disable standalone CI
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 0dc642b..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: CI - -on: - push: - pull_request: - workflow_dispatch: - workflow_call: - -permissions: - contents: read - -jobs: - test: - name: Test (${{ matrix.os }}, Rust ${{ matrix.rust }}) - runs-on: ${{ matrix.os }} - timeout-minutes: 20 - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - rust: ["1.88.0", stable] - steps: - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 - with: - persist-credentials: false - - name: Install Rust - run: rustup toolchain install ${{ matrix.rust }} --profile minimal - - name: Test default dependencies - run: cargo +${{ matrix.rust }} test --locked - - name: Test arbitrary-precision JSON compatibility - run: cargo +${{ matrix.rust }} test --locked --features serde_json/arbitrary_precision - - name: Test release build - run: cargo +${{ matrix.rust }} test --release --locked - - quality: - runs-on: ubuntu-latest - timeout-minutes: 20 - steps: - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 - with: - persist-credentials: false - - name: Install Rust tools - run: rustup toolchain install stable --profile minimal --component rustfmt --component clippy - - name: Test release automation - run: python3 -B -m unittest discover -s scripts -p 'test_*.py' - - name: Check formatting - run: cargo +stable fmt --all -- --check - - name: Check lints - run: cargo +stable clippy --all-targets --locked -- -D warnings - - name: Check feature compatibility lints - run: cargo +stable clippy --all-targets --locked --features serde_json/arbitrary_precision -- -D warnings - - name: Verify package - run: cargo +stable package --locked - - name: Test packaged crate - shell: bash - run: | - package=$(cargo +stable metadata --no-deps --format-version 1 | python3 -c 'import json, sys; p = json.load(sys.stdin)["packages"][0]; print(p["name"] + "-" + p["version"])') - cargo +stable test --locked --manifest-path "target/package/$package/Cargo.toml" |
