mirror of
https://gitea.com/actions/go-versions.git
synced 2026-01-05 08:37:18 +08:00
Compare commits
31 Commits
1.17.1-122
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df5bacfff9 | ||
|
|
82e37a11c9 | ||
|
|
57ea5543a0 | ||
|
|
6ac541a152 | ||
|
|
710d16ce77 | ||
|
|
b591576203 | ||
|
|
b97793e13e | ||
|
|
b844ed6c6d | ||
|
|
8a0545cb70 | ||
|
|
34306dce78 | ||
|
|
2e49d3e53d | ||
|
|
c18c2ac1ac | ||
|
|
b2fe27c0b9 | ||
|
|
c27e49f619 | ||
|
|
9d9bd2c789 | ||
|
|
017e64abe3 | ||
|
|
dfb38cff48 | ||
|
|
4e55ba98df | ||
|
|
6e78c4b835 | ||
|
|
6ab1ee80cb | ||
|
|
6712407a7f | ||
|
|
91c89f70d1 | ||
|
|
13c5817e5c | ||
|
|
38f14f667d | ||
|
|
5735a29e98 | ||
|
|
25beb00b9f | ||
|
|
260b2b7fbc | ||
|
|
187f998b00 | ||
|
|
7dad0a857d | ||
|
|
bf5a404e5b | ||
|
|
307dc6197a |
1
.github/workflows/get-go-versions.yml
vendored
1
.github/workflows/get-go-versions.yml
vendored
@@ -55,6 +55,7 @@ jobs:
|
||||
-ToolName "${{ env.TOOL_NAME }}" `
|
||||
-ImageUrl "https://golang.org/lib/godoc/images/footer-gopher.jpg" `
|
||||
-Text "$message"
|
||||
|
||||
trigger_builds:
|
||||
name: Trigger builds
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
48
.github/workflows/validate-manifest.yml
vendored
Normal file
48
.github/workflows/validate-manifest.yml
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
name: Validate manifest
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 8,20 * * *'
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'versions-manifest.json'
|
||||
|
||||
env:
|
||||
TOOL_NAME: "Go"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Validate python-versions manifest
|
||||
run: .\helpers\packages-generation\manifest-validator.ps1 -ManifestPath '.\versions-manifest.json'
|
||||
|
||||
check_build:
|
||||
name: Check validation for failures
|
||||
runs-on: ubuntu-latest
|
||||
needs: [validation]
|
||||
if: failure()
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Send Slack notification if validation fails
|
||||
run: |
|
||||
$pipelineUrl = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
|
||||
$message = "The validation of go-versions manifest failed. \nLink to the pipeline: $pipelineUrl"
|
||||
.\helpers\get-new-tool-versions\send-slack-notification.ps1 -Url "${{ secrets.SLACK_CHANNEL_URL }}" `
|
||||
-ToolName "${{ env.TOOL_NAME }}" `
|
||||
-Text "$message" `
|
||||
-ImageUrl "https://golang.org/lib/godoc/images/footer-gopher.jpg"
|
||||
2
helpers
2
helpers
Submodule helpers updated: 1eaa091b65...6f1aa3ce73
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user