mirror of https://github.com/microsoft/vcpkg.git
actions: check that the vcpkg-tools.json only contain valid sha's (#46484)
This commit is contained in:
parent
23a3fb9f5a
commit
bafef5f2bf
|
|
@ -0,0 +1,20 @@
|
||||||
|
name: Check vcpkg Tools SHA
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "scripts/vcpkg-tools.json"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-tools-sha:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Bootstrap vcpkg
|
||||||
|
run: ./bootstrap-vcpkg.sh
|
||||||
|
|
||||||
|
- name: Run vcpkg x-check-tools-sha
|
||||||
|
run: vcpkg z-check-tools-sha scripts/vcpkg-tools.json || echo "Run 'vcpkg z-check-tools-sha scripts/vcpkg-tools.json --fix' to update the SHA values"
|
||||||
Loading…
Reference in New Issue