summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2020-07-31 15:44:11 -0400
committerGitHub <noreply@github.com>2020-07-31 15:44:11 -0400
commitedf5b562c09964f4a8f72549b955a07f8ca20322 (patch)
tree36476d38b9208a5adb29b8bc46ab0bbf6f83a1e3 /.github
parent64e55bc32a48e78a3b08add63b5155adb14744b6 (diff)
parentf6b35d12a4328acc7a0f85c7e383251c2823143b (diff)
Merge pull request #17 from ojacobson/auto-update-nightly
Automate periodic Rust Nightly upgrades.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/nightly-rust-update.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/nightly-rust-update.yml b/.github/workflows/nightly-rust-update.yml
new file mode 100644
index 0000000..00ff6e6
--- /dev/null
+++ b/.github/workflows/nightly-rust-update.yml
@@ -0,0 +1,27 @@
+name: Update Rust nightly
+on:
+ workflow_dispatch:
+ schedule:
+ # Nothing magic here, I just wanted to avoid the midnight thundering
+ # herd on the first of each month.
+ - cron: '0 5 8 * *'
+
+jobs:
+ nightly-update:
+ name: Update Rust nightly
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - run: tools/update-nightly
+ - run: tools/install-tool-dependencies
+ - run: tools/checks
+ - uses: peter-evans/create-pull-request@v3
+ with:
+ commit-message: Update Rust nightly version.
+ branch: rust-nightly-update
+ title: Update Rust nightly version
+ body: |
+ If these changes look good, merge this pull request to
+ update to the latest Nightly as of today.
+
+ Automatically generated by the nightly-rust-update workflow.