mirror of https://github.com/o2sh/onefetch.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
669 B
36 lines
669 B
name: CI |
|
on: |
|
push: |
|
branches: ["*"] |
|
paths-ignore: |
|
- "docs/**" |
|
- "**.md" |
|
- "docs/vercel/**" |
|
pull_request: |
|
branches: [main] |
|
paths-ignore: |
|
- "docs/**" |
|
- "**.md" |
|
- "docs/vercel/**" |
|
env: |
|
CARGO_TERM_COLOR: always |
|
|
|
jobs: |
|
CI: |
|
strategy: |
|
matrix: |
|
os: [ubuntu-latest, windows-latest, macOS-latest] |
|
runs-on: ${{ matrix.os }} |
|
|
|
steps: |
|
- name: Checkout |
|
uses: actions/checkout@v6 |
|
|
|
- name: Setup Rust |
|
uses: actions-rust-lang/setup-rust-toolchain@v1 |
|
|
|
- name: Build |
|
run: cargo build --features=fail-on-deprecated |
|
|
|
- name: Run tests |
|
run: cargo test
|
|
|