We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5910cbe commit cf49826Copy full SHA for cf49826
.github/workflows/cron.yml
@@ -0,0 +1,31 @@
1
+on:
2
+ schedule:
3
+ # Run every week at 7pm UTC Wednesday.
4
+ - cron: '0 19 * * WED'
5
+
6
+name: Cron CI
7
8
+jobs:
9
+ ci-linux:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: actions-rs/toolchain@v1
14
+ with:
15
+ profile: minimal
16
+ toolchain: stable
17
+ override: true
18
+ - name: Run tests
19
+ run: cargo test --all
20
+ - name: Deliberate failure to test issue opening
21
+ run: false
22
+ - uses: imjohnbo/issue-bot@v2
23
+ if: failure()
24
25
+ title: CI Failure
26
+ body: |
27
+ Scheduled CI run failed. Details:
28
29
+ https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
30
+ env:
31
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments