diff --git a/.github/workflows/validate-manifest.yml b/.github/workflows/validate-manifest.yml index 0b1e0c9..6f70a31 100644 --- a/.github/workflows/validate-manifest.yml +++ b/.github/workflows/validate-manifest.yml @@ -1,31 +1,32 @@ name: Validate manifest on: - schedule: - - cron: '0 8,20 * * *' - - pull_request: - branches: + schedule: + - cron: '0 8,20 * * *' + + pull_request: + branches: - main - paths: + paths: - 'versions-manifest.json' + env: TOOL_NAME: "Go" + defaults: run: shell: pwsh - + jobs: validation: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: + - uses: actions/checkout@v2 + with: submodules: true - - - name: Validate python-versions manifest - run: .\helpers\packages-generation\manifest-validator.ps1 -ManifestUrl https://raw.githubusercontent.com/actions/go-versions/main/versions-manifest.json -AccessToken ${{ secrets.GITHUB_TOKEN }} + + - name: Validate python-versions manifest + run: .\helpers\packages-generation\manifest-validator.ps1 -ManifestPath '.\versions-manifest.json' check_build: name: Check validation for failures diff --git a/helpers b/helpers index e71d476..6f1aa3c 160000 --- a/helpers +++ b/helpers @@ -1 +1 @@ -Subproject commit e71d4763205167b7ef40aa4083f6cd361c61781a +Subproject commit 6f1aa3ce73ce0ea4b58995a63b56a8677607762a