Skip to content

Bump serde from 1.0.216 to 1.0.217 #30

Bump serde from 1.0.216 to 1.0.217

Bump serde from 1.0.216 to 1.0.217 #30

Workflow file for this run

name: Build and deploy to Cloudflare Workers
on:
push:
workflow_dispatch:
concurrency:
group: deploy
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
name: Build and Deploy master
steps:
- uses: actions/checkout@v4
- name: Cache build
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.cargo/.crates.toml
~/.cargo/.crates2.json
target/
node_modules/
/usr/share/rust/.rustup/
key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('package-lock.json') }}
restore-keys: ${{ runner.os }}-
- uses: dtolnay/rust-toolchain@stable
with:
targets: "wasm32-unknown-unknown"
- name: Build
run: |
npm install
npx wrangler deploy --dry-run
- name: Deploy
if: ${{ github.ref_type == 'branch' && github.ref_name == 'master' }}
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_TOKEN }}
run: |
npm install
npx wrangler deploy