|
|
@ -1,16 +1,18 @@
|
|
|
|
name: Validate manifest
|
|
|
|
name: Validate manifest
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 8,20 * * *'
|
|
|
|
- cron: '0 8,20 * * *'
|
|
|
|
|
|
|
|
|
|
|
|
pull_request:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
paths:
|
|
|
|
- 'versions-manifest.json'
|
|
|
|
- 'versions-manifest.json'
|
|
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
TOOL_NAME: "Go"
|
|
|
|
TOOL_NAME: "Go"
|
|
|
|
|
|
|
|
|
|
|
|
defaults:
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
run:
|
|
|
|
shell: pwsh
|
|
|
|
shell: pwsh
|
|
|
@ -18,14 +20,13 @@ defaults:
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
validation:
|
|
|
|
validation:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
submodules: true
|
|
|
|
|
|
|
|
|
|
|
|
- name: Validate python-versions manifest
|
|
|
|
- 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 }}
|
|
|
|
run: .\helpers\packages-generation\manifest-validator.ps1 -ManifestPath '.\versions-manifest.json'
|
|
|
|
|
|
|
|
|
|
|
|
check_build:
|
|
|
|
check_build:
|
|
|
|
name: Check validation for failures
|
|
|
|
name: Check validation for failures
|
|
|
|