feat(video): Post video longer than 60 seconds as embeds to Bluesky #22
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
on: | |
push: | |
# Only run Tests if Rust source files change. | |
paths: | |
- .github/workflows/testing.yml | |
- src** | |
- Cargo* | |
- tests** | |
pull_request: | |
# Only run Tests if Rust source files change. | |
paths: | |
- .github/workflows/testing.yml | |
- src** | |
- Cargo* | |
- tests** | |
name: Testing | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@v1 | |
with: | |
toolchain: stable | |
components: rustfmt, clippy | |
- name: Cache cargo | |
uses: Swatinem/rust-cache@v2 | |
- run: | | |
cargo check | |
cargo test | |
cargo fmt --all -- --check | |
cargo clippy |