fix: replace wget with proper checkout action in CI workflow
Some checks failed
CI / test (push) Failing after 2s
Some checks failed
CI / test (push) Failing after 2s
This commit is contained in:
@@ -1,23 +1,23 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
paths-ignore:
|
||||||
|
- 'api-token-vault/**'
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
paths-ignore:
|
||||||
|
- 'api-token-vault/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
- uses: actions/setup-rust@v1
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
rust-version: stable
|
||||||
|
- run: cargo build --all-features
|
||||||
- name: Install
|
- run: cargo test --all-features
|
||||||
run: |
|
- run: cargo clippy --all-features -- -D warnings
|
||||||
pip3 install -e . pytest
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: |
|
|
||||||
pytest tests/ -v
|
|
||||||
|
|||||||
Reference in New Issue
Block a user