schedule #576
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: schedule | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: "7 7 * * *" | |
jobs: | |
nightly: | |
runs-on: ubuntu-latest | |
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: | |
profile: minimal | |
toolchain: nightly | |
default: true | |
components: rustfmt, clippy | |
- name: Test the code | |
run: python3 ./bin/test --rust-version nightly --test all --extra-clippy-flags "-A clippy::arc_with_non_send_sync" # extra clippy args since lint is nightly only for now |