From 5bf0c3788f5a8515cab9537c6ba22da3e73a0002 Mon Sep 17 00:00:00 2001 From: coela <147021942+coela-oss@users.noreply.github.com> Date: Thu, 1 Oct 2026 17:13:39 +0900 Subject: [PATCH] Add read-only, commit-pinned test CI --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ebbc3fc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI +on: + push: + branches: [main] + pull_request: + workflow_dispatch: +permissions: + contents: read +jobs: + test: + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 + with: + persist-credentials: false + - name: Install declared Rust toolchain + run: rustup toolchain install 1.97 --profile minimal + - name: Test default features + run: cargo +1.97 test --locked + - name: Test all features + run: cargo +1.97 test --locked --all-features