Skip to content

Commit

Permalink
Add nightly CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Jul 29, 2023
1 parent 5e10b32 commit 324d071
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Nightly

on:
schedule:
# Trigger a build everyday to capture rustc change early
# This runs at 01:53 UTC, a randomly generated time after
# daily nightly release.
- cron: '53 1 * * *'

env:
CARGO_TERM_COLOR: always

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: 'nightly'
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --release --verbose

0 comments on commit 324d071

Please sign in to comment.