Add lint and build actions #1

Manually merged
MichaelBradley merged 30 commits from actions into main 2025-02-23 06:10:41 -05:00
Showing only changes of commit 70484eac68 - Show all commits

View file

@ -40,10 +40,11 @@ jobs:
uses: actions/setup-python@v5
with:
cache: pip
- name: Install pip
run: python3 -m ensurepip
- name: Set up Python environment
run: python3 -m pip install -r requirements.txt
run: |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
python3 -m pip install -r requirements.txt
- name: Set up Rust
uses: https://github.com/dtolnay/rust-toolchain@stable
- name: Build Rust code
@ -57,5 +58,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Rust
uses: https://github.com/dtolnay/rust-toolchain@stable
- name: Set up Python toolchain
uses: actions/setup-python@v5
- name: Run Rust tests
run: cargo test