Skip to content

Unpin nightly version in daily CI #533

Unpin nightly version in daily CI

Unpin nightly version in daily CI #533

Workflow file for this run

# Copyright Gary Guo.
#
# SPDX-License-Identifier: MIT OR Apache-2.0
name: CI
on:
schedule:
# Trigger a build every workday to capture rustc change.
- cron: '53 9 * * 1-5'
workflow_dispatch: {}
push: {}
pull_request: {}
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: sudo apt install libsqlite3-dev
- name: Unpin nightly
if: github.event_name == 'schedule'
run: sed -i 's/channel = .*/channel = "nightly"/' rust-toolchain.toml
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --release --verbose