Skip to content

build: use fixed nightly #146

build: use fixed nightly

build: use fixed nightly #146

Workflow file for this run

name: ci
on:
push:
branches:
- main
tags-ignore:
- v*
pull_request:
branches:
- main
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-2023-10-21 --profile minimal
rustup component add rustfmt --toolchain nightly-2023-10-21
rustup component add clippy --toolchain nightly-2023-10-21
- 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