Skip to content

Commit 46f0be4

Browse files
authored
Dependency updates should be checked for breakages (#77)
1 parent 97060b0 commit 46f0be4

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/nightly-check.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
name: "Nightly Check"
3+
4+
on:
5+
schedule:
6+
- cron: '0 3 * * *'
7+
workflow_dispatch:
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: "ubuntu-22.04"
15+
env:
16+
RUSTFLAGS: "-D warnings"
17+
strategy:
18+
matrix:
19+
api_version: ["4-1", "4-2", "4-3", "4-4"]
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
- name: Setup Cache
25+
uses: Swatinem/rust-cache@v2
26+
with:
27+
cache-on-failure: true
28+
- name: Update Dependencies
29+
run: |
30+
cargo update
31+
- name: Build Debug
32+
run: |
33+
set -o pipefail
34+
cargo build --workspace --features "godot/api-${{ matrix.api_version}}" --all-features --message-format json
35+
- name: Build Release
36+
run: |
37+
set -o pipefail
38+
cargo build --release --workspace --features "godot/api-${{ matrix.api_version}}" --all-features --message-format json

0 commit comments

Comments
 (0)