File tree Expand file tree Collapse file tree 5 files changed +43
-6
lines changed
Expand file tree Collapse file tree 5 files changed +43
-6
lines changed Original file line number Diff line number Diff line change 2323 runs-on : ubuntu-latest
2424 steps :
2525 - name : Check out code
26- uses : actions/checkout@v4
26+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2727
2828 - name : Run JSON Lint
2929 run : jq . gemini-extension.json
Original file line number Diff line number Diff line change 2424 runs-on : ubuntu-latest
2525 steps :
2626 - name : Check out code
27- uses : actions/checkout@v4
27+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2828
2929 - name : Link Checker
3030 uses : lycheeverse/lychee-action@v2.0.2
Original file line number Diff line number Diff line change 3939
4040 steps :
4141 - name : Checkout code at the new tag
42- uses : actions/checkout@v4
42+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
4343 with :
4444 ref : ${{ github.event.release.tag_name }}
4545
@@ -117,10 +117,10 @@ jobs:
117117 contents : write
118118 steps :
119119 - name : Checkout code
120- uses : actions/checkout@v4
120+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
121121
122122 - name : Download all archives from workflow artifacts
123- uses : actions/download-artifact@v4
123+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
124124 with :
125125 path : release-archives
126126
Original file line number Diff line number Diff line change 1+ # Copyright 2025 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # https://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+ name : Presubmit Tests
15+
16+ on :
17+ pull_request :
18+ branches : [ main ]
19+
20+ jobs :
21+ run-presubmit-tests :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Check out code
25+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
26+
27+ - name : Install Gemini CLI
28+ run : npm install @google/gemini-cli
29+
30+ - name : Install toolbox binary
31+ run : |
32+ VERSION=$(cat toolbox_version.txt)
33+ curl -L -o toolbox https://storage.googleapis.com/genai-toolbox/v$VERSION/linux/amd64/toolbox
34+ chmod +x toolbox
35+
36+ - name : Install Extension
37+ run : yes | npx gemini extensions install --path=.
Original file line number Diff line number Diff line change 1- 0.15 .0
1+ 0.16 .0
You can’t perform that action at this time.
0 commit comments