chore(deps): update bindgen requirement from 0.69 to 0.70 in /fitsio-sys in the cargo-packages group #408
Workflow file for this run
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
name: check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- 'bin/**' | |
- 'fitsio/**' | |
- 'fitsio-derive/**' | |
- 'fitsio-sys/**' | |
- 'testdata/**' | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- 'Cross.toml' | |
- 'rust-toolchain.toml' | |
- '.github/workflows/*.yml' | |
# Only one pull-request triggered run should be executed at a time | |
# (head_ref is only set for PR events, otherwise fallback to run_id which differs for every run). | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
# completely stolen from https://github.com/jonhoo/inferno/blob/8c0a28cab440fd00cd42cfbca403dde895cc67e3/.github/workflows/check.yml#L86-L107 | |
msrv: | |
runs-on: ubuntu-latest | |
# we use a matrix here just because env can't be used in job names | |
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability | |
strategy: | |
matrix: | |
msrv: [1.58.0] | |
name: ubuntu / ${{ matrix.msrv }} | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install ubuntu dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install --no-install-recommends -y \ | |
llvm-dev \ | |
libcfitsio-dev \ | |
pkg-config \ | |
libssl-dev \ | |
python3 | |
- name: "Install toolchain: ${{ matrix.msrv }}" | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{matrix.msrv}} | |
default: true | |
components: rustfmt, clippy | |
- name: cargo +${{ matrix.msrv }} check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
minimal: | |
runs-on: ubuntu-latest | |
name: minimal versions check | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install ubuntu dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install --no-install-recommends -y \ | |
llvm-dev \ | |
libcfitsio-dev \ | |
pkg-config \ | |
libssl-dev \ | |
python3 | |
- name: Install toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
components: rustfmt, clippy | |
- name: Install nightly for -Zminimal-versions | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
- name: cargo update -Zminimal-versions | |
uses: actions-rs/cargo@v1 | |
with: | |
command: update | |
toolchain: nightly | |
args: -Zminimal-versions | |
- name: Test the code | |
run: python3 ./bin/test --rust-version stable --test all |