Bump serde_json from 1.0.134 to 1.0.135 #223
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is autogenerated by maturin v1.4.0 | |
# To update, run | |
# | |
# maturin generate-ci github | |
# | |
name: "lint" | |
on: | |
pull_request: | |
push: | |
branches: [latest] | |
jobs: | |
rust_on_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: cache conda | |
uses: actions/cache@v4 | |
env: | |
CACHE_NUMBER: 1 | |
with: | |
path: ~/conda_pkgs_dir | |
key: | |
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }} | |
- name: cache rust | |
uses: Swatinem/rust-cache@v2 | |
- name: setup conda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: 3.12 | |
channels: conda-forge,bioconda | |
miniforge-variant: Miniforge3 | |
miniforge-version: latest | |
use-mamba: true # Prioritise mamba over conda if available | |
mamba-version: "*" | |
activate-environment: sourmash_dev # Unclear if this env is created or not | |
auto-activate-base: false | |
# use-only-tar-bz2: true | |
- run: conda info | |
- run: conda list | |
- run: conda config --show | |
- run: mamba search rust | |
- name: install dependencies | |
shell: bash -l {0} | |
run: mamba install rust==1.75.0 | |
- name: install dependencies 2 | |
shell: bash -l {0} | |
run: mamba install compilers maturin pytest pandas | |
- name: Run cargo fmt | |
run: cargo fmt --all -- --check --verbose |