feat: pull pocket items to local database (#1) #23
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 and Test" | |
on: | |
push: | |
jobs: | |
sign: | |
name: "Build and Test" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "web-ext lint" | |
uses: kewisch/action-web-ext@v1 | |
with: | |
cmd: lint | |
source: webext | |
channel: listed | |
- name: "web-ext build" | |
uses: kewisch/action-web-ext@v1 | |
with: | |
cmd: build | |
source: webext | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
components: rustfmt, clippy | |
- name: Cargo check | |
run: cargo check --workspace | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Cargo lint | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
- name: Build release | |
run: cargo build |