Skip to content

Commit

Permalink
build: add scheduled GH workflow for nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
hseeberger committed Oct 22, 2023
1 parent 0e6cab4 commit d7d1427
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci_nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: ci-nightly

on:
schedule:
- cron: 0 6,18 * * *

jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3

- name: Install Rust toolchain
run: |
rustup update
rustup toolchain install nightly --profile minimal
rustup component add rustfmt --toolchain nightly
rustup component add clippy --toolchain nightly
- name: Install just
uses: taiki-e/install-action@v2
with:
tool: just

- name: Install protoc
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Rust cache
uses: Swatinem/rust-cache@v2

- name: Check code format
run: just fmt_check

- name: Run linter
run: just lint

- name: Run tests
run: just test

- name: Run doc
run: just doc

0 comments on commit d7d1427

Please sign in to comment.