Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
def8c39
Rearrange README.md, add advanced-usage.md (#724)
priyagupta108 Feb 26, 2026
27fdb26
Bump minimatch from 3.1.2 to 3.1.5 (#727)
dependabot[bot] Mar 2, 2026
8f19afc
feat: add go-download-base-url input for custom Go distributions (#721)
gdams Mar 16, 2026
4a36011
docs: fix Microsoft build of Go link (#734)
gdams Mar 17, 2026
78961f6
chore: update @actions dependencies and refresh license cache (#744)
Copilot Apr 13, 2026
4a2405e
chore: update @types/node and @typescript-eslint dependencies to late…
HarithaVattikuti Jun 16, 2026
e91cc3b
Bump @actions/cache to 5.1.0, log cache write denied (#758)
jasongin Jun 22, 2026
924ae3a
chore: bump version to 6.5.0 in package.json and package-lock.json (#…
HarithaVattikuti Jun 23, 2026
0778a10
Migrate to ESM and upgrade dependencies (#763)
priyagupta108 Jul 15, 2026
b7ad1da
chore(deps): bump @actions/cache to 6.2.0 (#771)
philip-gai Jul 16, 2026
5064d95
Upgrade checkout refs and docs to v7 (#779)
HarithaVattikuti Jul 27, 2026
2ceae80
Sync upstream v7 and move to @warpbuilds/cache 2.x
janakiram7755 Jul 30, 2026
52b2740
Pin brace-expansion to clear the high-severity audit finding
janakiram7755 Jul 30, 2026
b5f302a
Move macOS CI to warp-macos-15 runners
janakiram7755 Aug 3, 2026
88530b3
Move to @warpbuilds/cache 2.0.0-1
janakiram7755 Aug 3, 2026
17bb2d8
Regenerate license manifests for 2.0.0-1
janakiram7755 Aug 3, 2026
3602c40
Address zizmor findings and drop the redundant brace-expansion override
janakiram7755 Aug 3, 2026
b3766be
Move to @warpbuilds/cache 2.0.0
janakiram7755 Aug 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

51 changes: 0 additions & 51 deletions .eslintrc.js

This file was deleted.

143 changes: 143 additions & 0 deletions .github/workflows/microsoft-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
name: Validate Microsoft build of Go

on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
microsoft-basic:
name: 'Microsoft build of Go ${{ matrix.go-version }} on ${{ matrix.os }}'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go-version: ['1.25', '1.24']
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Setup Microsoft build of Go ${{ matrix.go-version }}
uses: ./
with:
go-version: ${{ matrix.go-version }}
go-download-base-url: 'https://aka.ms/golang/release/latest'
cache: false

- name: Verify Go installation
run: go version

- name: Verify Go env
run: go env

- name: Verify Go is functional
shell: bash
run: |
# Create a simple Go program and run it
mkdir -p /tmp/test-go && cd /tmp/test-go
cat > main.go << 'EOF'
package main
import "fmt"
func main() {
fmt.Println("Hello from Microsoft build of Go!")
}
EOF
go run main.go

microsoft-env-var:
name: 'Microsoft build of Go via env var on ${{ matrix.os }}'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
env:
GO_DOWNLOAD_BASE_URL: 'https://aka.ms/golang/release/latest'
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Setup Microsoft build of Go via environment variable
uses: ./
with:
go-version: '1.25'
cache: false

- name: Verify Go installation
run: go version

- name: Verify Go is functional
shell: bash
run: |
mkdir -p /tmp/test-go && cd /tmp/test-go
cat > main.go << 'EOF'
package main
import "fmt"
func main() {
fmt.Println("Hello from Microsoft build of Go via env var!")
}
EOF
go run main.go

microsoft-architecture:
name: 'Microsoft build of Go arch ${{ matrix.architecture }} on ${{ matrix.os }}'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
architecture: [x64]
include:
- os: macos-latest
architecture: arm64
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Setup Microsoft build of Go with architecture
uses: ./
with:
go-version: '1.25'
go-download-base-url: 'https://aka.ms/golang/release/latest'
architecture: ${{ matrix.architecture }}
cache: false

- name: Verify Go installation
run: go version

microsoft-with-cache:
name: 'Microsoft build of Go with caching on ${{ matrix.os }}'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Setup Microsoft build of Go with caching
uses: ./
with:
go-version: '1.25'
go-download-base-url: 'https://aka.ms/golang/release/latest'
cache: true

- name: Verify Go installation
run: go version

- name: Verify Go is functional
shell: bash
run: |
mkdir -p /tmp/test-go && cd /tmp/test-go
go mod init test
cat > main.go << 'EOF'
package main
import "fmt"
func main() {
fmt.Println("Hello from cached Microsoft build of Go!")
}
EOF
go run main.go
2 changes: 1 addition & 1 deletion .github/workflows/publish-immutable-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checking out
uses: actions/checkout@v6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Publish
id: publish
uses: actions/publish-immutable-action@v0.0.4
24 changes: 12 additions & 12 deletions .github/workflows/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go Stable
uses: ./
with:
Expand All @@ -35,7 +35,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go oldStable
uses: ./
with:
Expand All @@ -57,7 +57,7 @@ jobs:
- os: macos-latest-large
architecture: x32
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go ${{ matrix.version }} ${{ matrix.architecture }}
uses: ./
with:
Expand All @@ -82,7 +82,7 @@ jobs:
go: 1.23.2
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: setup-go ${{ matrix.go }}
uses: ./
Expand All @@ -101,7 +101,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
go-version: ['1.20', '1.21', '1.22', '1.23']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go and check latest
uses: ./
with:
Expand All @@ -117,7 +117,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go and check latest
uses: ./
with:
Expand All @@ -133,7 +133,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go and check latest
uses: ./
with:
Expand All @@ -149,7 +149,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go and check latest
uses: ./
with:
Expand All @@ -165,7 +165,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go from .go-version file
uses: ./
with:
Expand All @@ -183,7 +183,7 @@ jobs:
go: [1.20.14, 1.21.10, 1.22.8, 1.23.2]
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: setup-go ${{ matrix.go }}
uses: ./
Expand All @@ -203,7 +203,7 @@ jobs:
go: [1.11.12]
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: setup-go ${{ matrix.go }}
uses: ./
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- os: macos-latest-large
architecture: x64
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go and check latest
uses: ./
with:
Expand Down
Loading
Loading