Skip to content

Commit e09cfb4

Browse files
committed
Fix CI
1 parent 3998f9e commit e09cfb4

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

.github/workflows/ci_common.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
ref: ${{ inputs.prRef }}
7777

7878
- name: Set up Docker Buildx
79-
uses: docker/setup-buildx-action@v2
79+
uses: docker/setup-buildx-action@v3
8080

8181
- id: set_image_push_option
8282
name: Set image push option
@@ -178,14 +178,14 @@ jobs:
178178
echo "VERSION_SHORT=${VERSION_SHORT}"
179179
echo "VERSION_MAJOR=${VERSION_MAJOR}"
180180
181-
- uses: actions/upload-artifact@v3
181+
- uses: actions/upload-artifact@v4
182182
name: Create dev AzDO VSIX artifact
183183
with:
184184
name: azdo-task-dev
185185
path: ./output/devcontainers-dev.ci-${{ steps.build.outputs.version }}.vsix
186186
if-no-files-found: error
187187

188-
- uses: actions/upload-artifact@v3
188+
- uses: actions/upload-artifact@v4
189189
name: Create release AzDO VSIX artifact
190190
with:
191191
name: azdo-task
@@ -266,7 +266,7 @@ jobs:
266266
echo "VERSION_MAJOR=${VERSION_MAJOR}"
267267
268268
- name: Download release VSIX
269-
uses: actions/download-artifact@v3
269+
uses: actions/download-artifact@v4
270270
with:
271271
name: azdo-task
272272
path: output
@@ -364,12 +364,12 @@ jobs:
364364
echo "VERSION_SHORT: $VERSION_SHORT"
365365
366366
- name: Download workflow artifacts
367-
uses: actions/download-artifact@v3
367+
uses: actions/download-artifact@v4
368368
with:
369369
path: output
370370

371371
- name: Download release VSIX
372-
uses: actions/download-artifact@v3
372+
uses: actions/download-artifact@v4
373373
with:
374374
name: azdo-task-dev
375375
path: output
@@ -512,7 +512,7 @@ jobs:
512512
ref: ${{ inputs.prRef }}
513513

514514
- name: Set up Docker Buildx
515-
uses: docker/setup-buildx-action@v2
515+
uses: docker/setup-buildx-action@v3
516516

517517
- name: Login to GitHub Container Registry
518518
if: ${{ needs.build.outputs.image_push_option == 'filter' }}
@@ -557,7 +557,7 @@ jobs:
557557
ref: ${{ inputs.prRef }}
558558

559559
- name: Set up Docker Buildx
560-
uses: docker/setup-buildx-action@v2
560+
uses: docker/setup-buildx-action@v3
561561

562562
- name: Login to GitHub Container Registry
563563
if: ${{ needs.build.outputs.image_push_option == 'filter' }}
@@ -610,7 +610,7 @@ jobs:
610610
ref: ${{ inputs.prRef }}
611611

612612
- name: Set up Docker Buildx
613-
uses: docker/setup-buildx-action@v2
613+
uses: docker/setup-buildx-action@v3
614614

615615
- name: Login to GitHub Container Registry
616616
uses: docker/login-action@v2
@@ -655,7 +655,7 @@ jobs:
655655
ref: ${{ inputs.prRef }}
656656

657657
- name: Set up Docker Buildx
658-
uses: docker/setup-buildx-action@v2
658+
uses: docker/setup-buildx-action@v3
659659

660660
- name: Login to GitHub Container Registry
661661
uses: docker/login-action@v2
@@ -700,7 +700,7 @@ jobs:
700700
ref: ${{ inputs.prRef }}
701701

702702
- name: Set up Docker Buildx
703-
uses: docker/setup-buildx-action@v2
703+
uses: docker/setup-buildx-action@v3
704704

705705
- name: Login to GitHub Container Registry
706706
uses: docker/login-action@v2
@@ -745,7 +745,7 @@ jobs:
745745
ref: ${{ inputs.prRef }}
746746

747747
- name: Set up Docker Buildx
748-
uses: docker/setup-buildx-action@v2
748+
uses: docker/setup-buildx-action@v3
749749

750750
- name: Login to GitHub Container Registry
751751
uses: docker/login-action@v2
@@ -790,7 +790,7 @@ jobs:
790790
ref: ${{ inputs.prRef }}
791791

792792
- name: Set up Docker Buildx
793-
uses: docker/setup-buildx-action@v2
793+
uses: docker/setup-buildx-action@v3
794794

795795
- name: Login to GitHub Container Registry
796796
uses: docker/login-action@v2
@@ -835,7 +835,7 @@ jobs:
835835
ref: ${{ inputs.prRef }}
836836

837837
- name: Set up Docker Buildx
838-
uses: docker/setup-buildx-action@v2
838+
uses: docker/setup-buildx-action@v3
839839

840840
- name: Login to GitHub Container Registry
841841
uses: docker/login-action@v2
@@ -887,7 +887,7 @@ jobs:
887887
ref: ${{ inputs.prRef }}
888888

889889
- name: Set up Docker Buildx
890-
uses: docker/setup-buildx-action@v2
890+
uses: docker/setup-buildx-action@v3
891891

892892
- name: Login to GitHub Container Registry
893893
uses: docker/login-action@v2
@@ -1138,7 +1138,7 @@ jobs:
11381138
ref: ${{ inputs.prRef }}
11391139

11401140
- name: Set up Docker Buildx
1141-
uses: docker/setup-buildx-action@v2
1141+
uses: docker/setup-buildx-action@v3
11421142

11431143
- name: Login to GitHub Container Registry
11441144
uses: docker/login-action@v2

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
46+
uses: github/codeql-action/init@v2
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below)
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v1
57+
uses: github/codeql-action/autobuild@v2
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 https://git.io/JvXDl
@@ -68,4 +68,4 @@ jobs:
6868
# make release
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v1
71+
uses: github/codeql-action/analyze@v2

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Additionally, it is desirable to add new tests to cover any new functionality.
3030

3131
When a PR is created, some tests will be automatically triggered against the PR. The full suite of tests requires secrets and needs to be triggered by a maintainer.
3232

33+
Testing and publishing the AzDO task requires the `AZDO_TOKEN` GitHub secret to be an AzDO PAT for monacotools with Build Read & Execute, Marketplace Publish and Packing Read & Write permissions.
34+
3335
## Miscellaneous
3436

3537
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).

0 commit comments

Comments
 (0)