Skip to content

Commit f479181

Browse files
committed
Merge dependencies jobs
GitHub disables scheduled jobs if there hasn't been activity on the repository for the last 60 days. This is likely to happen a lot here since we will probably only update it after breaking ruma releases that should happen every 6 months or so, so we remove the schedule job. Since both jobs are now always running with the same conditions, we can just merge them.
1 parent 07694a8 commit f479181

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/deps.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,16 @@ env:
55
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
66

77
on:
8-
schedule:
9-
# every monday at 4AM (UTC?)
10-
- cron: '0 4 * * 1'
118
push:
129
branches: [main]
1310
pull_request:
1411
branches: [main]
1512

1613
jobs:
17-
bans-licenses-sources:
18-
name: Bans, Licenses, Sources
14+
cargo-deny:
15+
name: Bans, Licenses, Sources, Advisories
1916
runs-on: ubuntu-latest
20-
if: github.event.name != 'schedule'
2117

2218
steps:
2319
- uses: actions/checkout@v4
2420
- uses: EmbarkStudios/cargo-deny-action@v2
25-
with:
26-
command: check bans licenses sources
27-
28-
advisories:
29-
name: Advisories
30-
runs-on: ubuntu-latest
31-
32-
steps:
33-
- uses: actions/checkout@v4
34-
- uses: EmbarkStudios/cargo-deny-action@v2
35-
with:
36-
command: check advisories

0 commit comments

Comments
 (0)