build(deps): bump reqwest from 0.12.7 to 0.12.8 in the patch-versions group #88
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: "${{ github.ref != 'refs/heads/main' }}" | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
env: | |
CACHE_TIMEOUT_MINUTES: 5 | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: sccache | |
CC: sccache clang | |
CXX: sccache clang++ | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup sccache | |
uses: mozilla-actions/[email protected] | |
timeout-minutes: "${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}" | |
continue-on-error: true | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Install wasm-pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- uses: sigoden/install-binary@v1 | |
with: | |
repo: WebAssembly/binaryen | |
name: wasm-opt | |
- name: Install worker-build | |
run: cargo install --locked worker-build | |
- name: Dry Run | |
if: github.ref != 'refs/heads/main' | |
uses: cloudflare/wrangler-action@v3 | |
with: | |
command: deploy --dry-run | |
- name: Publish | |
if: github.ref == 'refs/heads/main' | |
uses: cloudflare/wrangler-action@v3 | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} |