Skip to content

Commit

Permalink
Revert github action to allowed one
Browse files Browse the repository at this point in the history
  • Loading branch information
timsaucer committed Jan 13, 2025
1 parent 5ae5d6e commit 442d83b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rs/toolchain@v1
id: rust-toolchain
with:
profile: minimal
toolchain: stable
override: true

- name: Generate license file
run: uv run python ./dev/create_license.py
- uses: actions/upload-artifact@v4
Expand All @@ -70,7 +76,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- uses: dtolnay/rust-toolchain@stable
- uses: actions-rs/toolchain@v1
with:
toolchain: stable

Expand Down Expand Up @@ -125,7 +131,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- uses: dtolnay/rust-toolchain@stable
- uses: actions-rs/toolchain@v1
with:
toolchain: stable

- run: rm LICENSE.txt
- name: Download LICENSE.txt
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Rust Toolchain
uses: dtolnay/rust-toolchain@stable
uses: actions-rs/toolchain@v1
id: rust-toolchain
with:
toolchain: ${{ matrix.toolchain }}
override: true

- name: Install Protoc
uses: arduino/setup-protoc@v3
Expand All @@ -61,7 +64,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cargo
key: cargo-cache-${{ steps.rust-toolchain.outputs.cachekey }}-${{ hashFiles('Cargo.lock') }}
key: cargo-cache-${{ steps.rust-toolchain.outputs.rustc_hash }}-${{ hashFiles('Cargo.lock') }}

- name: Check Formatting
if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 'stable' }}
Expand All @@ -81,7 +84,7 @@ jobs:

- name: FFI unit tests
run: |
uv run maturin develop --release --strip
uv run maturin develop
uv run pytest python/tests/_test_table_provider.py
- name: Cache the generated dataset
Expand Down

0 comments on commit 442d83b

Please sign in to comment.