diff options
author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-11-25 12:15:42 +0900 |
---|---|---|
committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-11-25 12:15:42 +0900 |
commit | 908363d836fd0ebab499d4356b6f0805c8ebbecc (patch) | |
tree | 9233161e6434dc10218b440b41a0c9b1037741db | |
parent | 5598401c182fc0289bc0f386651944624cb15581 (diff) | |
download | rust-libc-908363d836fd0ebab499d4356b6f0805c8ebbecc.tar.gz |
Specify git revision to avoid breakage as possible on semverver
-rw-r--r-- | .github/workflows/bors.yml | 2 | ||||
-rw-r--r-- | ci/semver.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/bors.yml b/.github/workflows/bors.yml index 36adeeecf2..f6fa2fe0fe 100644 --- a/.github/workflows/bors.yml +++ b/.github/workflows/bors.yml @@ -234,7 +234,7 @@ jobs: github_token: "${{ secrets.GITHUB_TOKEN }}" - uses: actions/checkout@v2 - name: Setup Rust toolchain - # FIXME: Pin nightly version to make semverver compilable. + # Should update the semverver revision in semver.sh if we touch nightly ver. run: TOOLCHAIN=nightly-2020-11-19 sh ./ci/install-rust.sh - name: Check breaking changes run: sh ci/semver.sh linux diff --git a/ci/semver.sh b/ci/semver.sh index 9660792b14..ebfe767c06 100644 --- a/ci/semver.sh +++ b/ci/semver.sh @@ -15,7 +15,8 @@ fi rustup component add rustc-dev llvm-tools-preview -cargo install --git https://github.com/rust-dev-tools/rust-semverver +# Should update the nightly version in bors CI config if we touch this. +cargo install --git https://github.com/rust-lang/rust-semverver --rev 71c340ff867d2f79613cfe02c6714f1d2ef00bc4 TARGETS= case "${OS}" in |