Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Release v1.0.0 of web-bot-auth crates#228

Release v1.0.0 of web-bot-auth crates

Release v1.0.0 of web-bot-auth crates #228

Workflow file for this run

name:Pull Request
on:
push:
pull_request:
jobs:
test-typescript:
name:Test TypeScript
timeout-minutes:5
strategy:
matrix:
os:[ubuntu-24.04]
runs-on:${{ matrix.os }}
steps:
-uses:actions/checkout@v4
with:
fetch-depth:1
-uses:actions/setup-node@v4
with:
node-version:22
cache:"npm"
-run:npm ci
-run:npm run build
-run:npm run lint
-run:npm run test
test-rust:
name:Test Rust
timeout-minutes:5
strategy:
matrix:
os:[ubuntu-24.04]
runs-on:${{ matrix.os }}
steps:
-uses:actions/checkout@v4
with:
fetch-depth:1
-name:Cache
uses:actions/cache@v4
with:
path:|
~/.cargo/registry
~/.cargo/git
target
key:${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
-name:Set rust toolchain
run:rustup component add clippy rustfmt && rustup target add wasm32-unknown-unknown
-run:cargo fetch
-run:cargo build --all --verbose --all-features --tests
-run:cargo build --all --verbose --exclude http-signature-directory --all-features --tests --target wasm32-unknown-unknown
-run:cargo check --tests --examples --benches --all-features
-run:cargo clippy --all-features --all-targets -- -D warnings
-run:cargo fmt --all -- --check
-run:cargo doc --all --all-features --document-private-items
-run:cargo test --all --verbose --all-features
deploy-rust:
name:Deploy Rust Crates
timeout-minutes:5
env:
# This token can be regenerated by visiting https://crates.io/me,
# generating a new API token with `publish-update` permissions,
# scoping it to just `web-bot-auth` and `http-signature-directory`
# crates, and uploading to Github.
CARGO_REGISTRY_TOKEN:${{ secrets.CRATES_IO_API_TOKEN }}
strategy:
matrix:
os:[ubuntu-24.04]
runs-on:${{ matrix.os }}
if:${{ github.ref == 'refs/heads/main' }}
needs:
-"test-rust"
steps:
-uses:actions/checkout@v4
with:
fetch-depth:1
-name:Cache
uses:actions/cache@v4
with:
path:|
~/.cargo/registry
~/.cargo/git
target
key:${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
-run:cargo publish -p web-bot-auth# will fail if we don't bump the version
continue-on-error:true
-run:cargo publish -p http-signature-directory# will fail if we don't bump the version
continue-on-error:true

[8]ページ先頭

©2009-2025 Movatter.jp