Skip to content

feat: define schedule tasks (#3) #3

feat: define schedule tasks (#3)

feat: define schedule tasks (#3) #3

Workflow file for this run

name: test rust
on:
push:
paths:
- ".github/workflows/test.yml"
- "src/**"
pull_request:
branches: ["main"]
path:
- ".github/workflows/test.yml"
- "src/**"
env:
RUST_BACKTRACE: 1
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf tree
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test