Compare commits

..

3 Commits

Author SHA1 Message Date
claude-ceo-assistant 3d525e2488 chore: remove upstream CI workflows (mirror inertization per internal#233) 2026-05-10 14:27:49 +00:00
claude-ceo-assistant 633af5a193 chore: remove upstream CI workflows (mirror inertization per internal#233) 2026-05-10 14:27:48 +00:00
Maxim Lobanov d0c5defdf3 Switch manifest installation from "master" to "main" branch (#65)
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.8.6, ubuntu-latest) (push) Failing after 12m43s
Validate 'setup-go' / Setup local-cache version (1.12, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.12, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.13, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.13, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.14, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.14, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.12.16, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.12.16, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.13.11, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.13.11, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.14.3, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.14.3, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.7, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.7, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.8.6, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.8.6, windows-latest) (push) Waiting to run
build-test / Run (windows-latest) (push) Waiting to run
build-test / Run (ubuntu-latest) (push) Failing after 2m4s
Validate 'setup-go' / Setup local-cache version (1.12, ubuntu-latest) (push) Failing after 3m28s
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.12.16, ubuntu-latest) (push) Failing after 3m26s
Validate 'setup-go' / Setup local-cache version (1.13, ubuntu-latest) (push) Failing after 3m29s
Validate 'setup-go' / Setup local-cache version (1.14, ubuntu-latest) (push) Failing after 3m30s
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.14.3, ubuntu-latest) (push) Failing after 3m29s
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.7, ubuntu-latest) (push) Failing after 3m26s
Validate 'setup-go' / Setup ${{ matrix.go }} ${{ matrix.os }} (1.13.11, ubuntu-latest) (push) Failing after 3m31s
* switch from master to main branch

* Update README.md
2020-07-20 12:50:40 -04:00
5 changed files with 9 additions and 114 deletions
-74
View File
@@ -1,74 +0,0 @@
name: Validate 'setup-go'
on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
schedule:
- cron: 0 0 * * *
jobs:
local-cache:
name: Setup local-cache version
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
go: [1.12, 1.13, 1.14]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup-go ${{ matrix.go }}
uses: ./
with:
go-version: ${{ matrix.go }}
- name: verify go
run: __tests__/verify-go.sh ${{ matrix.go }}
shell: bash
setup-versions-from-manifest:
name: Setup ${{ matrix.go }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
go: [1.12.16, 1.13.11, 1.14.3]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup-go ${{ matrix.go }}
uses: ./
with:
go-version: ${{ matrix.go }}
- name: verify go
run: __tests__/verify-go.sh ${{ matrix.go }}
shell: bash
setup-versions-from-dist:
name: Setup ${{ matrix.go }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
go: [1.7, 1.8.6]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup-go ${{ matrix.go }}
uses: ./
with:
go-version: ${{ matrix.go }}
- name: verify go
run: __tests__/verify-go.sh ${{ matrix.go }}
shell: bash
-38
View File
@@ -1,38 +0,0 @@
name: build-test
on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
run:
name: Run
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: npm install
run: npm install
- name: Lint
run: npm run format-check
- name: npm test
run: npm test
- name: audit packages
run: npm audit --audit-level=high
if: matrix.operating-system == 'ubuntu-latest'
+2
View File
@@ -19,6 +19,8 @@ The V2 offers:
- stable input
- Bug Fixes (including issues around version matching and semver)
It will first check the local cache for a version match. If version is not found locally, It will pull it from `main` branch of [go-versions](https://github.com/actions/go-versions/blob/main/versions-manifest.json) repository and on miss or failure, it will fall back to the previous behavior of download directly from [go dist](https://storage.googleapis.com/golang).
Matching by semver spec:
```yaml
steps:
+1 -1
View File
@@ -5034,7 +5034,7 @@ exports.extractGoArchive = extractGoArchive;
function getInfoFromManifest(versionSpec, stable, auth) {
return __awaiter(this, void 0, void 0, function* () {
let info = null;
const releases = yield tc.getManifestFromRepo('actions', 'go-versions', auth);
const releases = yield tc.getManifestFromRepo('actions', 'go-versions', auth, "main");
core.info(`matching ${versionSpec}...`);
const rel = yield tc.findFromManifest(versionSpec, stable, releases);
if (rel && rel.files.length > 0) {
+6 -1
View File
@@ -140,7 +140,12 @@ export async function getInfoFromManifest(
auth: string | undefined
): Promise<IGoVersionInfo | null> {
let info: IGoVersionInfo | null = null;
const releases = await tc.getManifestFromRepo('actions', 'go-versions', auth);
const releases = await tc.getManifestFromRepo(
'actions',
'go-versions',
auth,
'main'
);
core.info(`matching ${versionSpec}...`);
const rel = await tc.findFromManifest(versionSpec, stable, releases);