refs #259 Support Sharkey as Mastodon #248
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: Examle | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
MASTODON_URL: https://mastodon.social | |
jobs: | |
example: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
features: [native-tls, rustls-tls] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Run example | |
run: cargo run --example mastodon_instance --features ${{ matrix.features }} |