add a trigger #6
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: build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- uses: dtolnay/[email protected] | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install Cloudflare Worker build tools | |
run: cargo install -q worker-build | |
- name: Build Worker | |
run: | | |
worker-build --release | |
- name: Run (Rust) unit tests | |
run: cargo test |