File tree Expand file tree Collapse file tree 5 files changed +52
-44
lines changed
Expand file tree Collapse file tree 5 files changed +52
-44
lines changed Original file line number Diff line number Diff line change 1+ name : Setup
2+
3+ description : Setup
4+
5+ runs :
6+ using : composite
7+ steps :
8+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9+ with :
10+ fetch-depth : 0 # required for git am --3way to work properly
11+ submodules : true
12+ persist-credentials : false
13+
14+ - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
15+ with :
16+ go-version-file : go.mod
17+
18+ - name : Set commiter identity
19+ run : |
20+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
21+ git config --global user.name "github-actions"
22+
23+ - name : Apply typescript-go patches
24+ run : |
25+ pushd typescript-go
26+ git am --3way --no-gpg-sign ../patches/*.patch
27+ popd
Original file line number Diff line number Diff line change 1515 test :
1616 runs-on : ubuntu-latest
1717 steps :
18- - name : Checkout repo
19- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20- with :
21- fetch-depth : 0 # required for git am --3way to work properly
22- submodules : true
23- persist-credentials : false
24-
25- - name : Install Go
26- uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
27- with :
28- go-version-file : go.mod
29-
30- - name : Set commiter identity
31- run : |
32- git config --global user.email "github-actions[bot]@users.noreply.github.com"
33- git config --global user.name "github-actions"
34-
35- - name : Apply typescript-go patches
36- run : |
37- pushd typescript-go
38- git am --3way --no-gpg-sign ../patches/*.patch
39- popd
18+ - uses : ./.github/actions/setup
4019
4120 - run : go test ./internal/...
4221
Original file line number Diff line number Diff line change 1+ name : Copilot Setup Steps
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ types : [opened, synchronize]
7+ paths :
8+ - .github/workflows/copilot-setup-steps.yml
9+ push :
10+ branches :
11+ - main
12+ paths :
13+ - .github/workflows/copilot-setup-steps.yml
14+
15+ permissions : {}
16+
17+ jobs :
18+ copilot-setup-steps :
19+ name : Setup Development Environment for Copilot
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : ./.github/actions/setup
Original file line number Diff line number Diff line change 1818 goos : [windows, linux, darwin]
1919 goarch : [amd64, arm64]
2020 steps :
21- - name : Checkout repo
22- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23- with :
24- fetch-depth : 0 # required for git am --3way to work properly
25- submodules : true
26- persist-credentials : false
27-
28- - name : Install Go
29- uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
30- with :
31- go-version-file : go.mod
32-
33- - name : Set commiter identity
34- run : |
35- git config --global user.email "github-actions[bot]@users.noreply.github.com"
36- git config --global user.name "github-actions"
37-
38- - name : Apply typescript-go patches
39- run : |
40- pushd typescript-go
41- git am --3way --no-gpg-sign ../patches/*.patch
42- popd
21+ - uses : ./.github/actions/setup
4322
4423 - name : Build binaries
4524 env :
Original file line number Diff line number Diff line change 2121 # Using secrets.GITHUB_TOKEN isn't allowed to trigger downstream
2222 # workflow runs, so we're using a Personal Access Token (PAT) instead
2323 token : ${{ secrets.OXC_BOT_PAT }}
24+
2425 - name : Install Go
2526 uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2627 with :
You can’t perform that action at this time.
0 commit comments