Skip to content

Commit 1a96424

Browse files
authored
update actions versions (#500)
1 parent 31a6049 commit 1a96424

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

.github/workflows/build-utbot.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
matrix: ${{ steps.set-matrix.outputs.matrix }}
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717
- id: set-matrix
1818
name: Read config from matrix.json
1919
run: |
2020
TASKS=$(echo $(cat .github/workflows/matrix.json) | sed 's/ //g' )
21-
echo "::set-output name=matrix::$TASKS"
21+
echo "matrix=$TASKS" >> $GITHUB_OUTPUT
2222
2323
build-utbot-and-run-unit-tests:
2424
needs: matrix-prep
@@ -39,7 +39,7 @@ jobs:
3939
ARTIFACT_DIR: utbot-artifact
4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v3
4343
with:
4444
submodules: recursive
4545
- name: Build UTBot
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
chmod +x docker/action-scripts/unit-tests.sh
5555
./docker/action-scripts/unit-tests.sh
56-
- uses: actions/upload-artifact@v2
56+
- uses: actions/upload-artifact@v3
5757
if: failure()
5858
with:
5959
name: UTBot unit tests logs
@@ -78,7 +78,7 @@ jobs:
7878
ARTIFACT_DIR: utbot-artifact
7979
steps:
8080
- name: Checkout repository
81-
uses: actions/checkout@v2
81+
uses: actions/checkout@v3
8282
with:
8383
submodules: recursive
8484

@@ -104,7 +104,7 @@ jobs:
104104
chmod +x docker/action-scripts/runClionIntegrationTests.sh
105105
./docker/action-scripts/runClionIntegrationTests.sh
106106
- name: Upload logs
107-
uses: actions/upload-artifact@v2
107+
uses: actions/upload-artifact@v3
108108
if: failure()
109109
with:
110110
name: test-report
@@ -131,7 +131,7 @@ jobs:
131131
ARTIFACT_DIR: utbot-artifact
132132
steps:
133133
- name: Checkout repository
134-
uses: actions/checkout@v2
134+
uses: actions/checkout@v3
135135
with:
136136
submodules: recursive
137137

@@ -159,7 +159,7 @@ jobs:
159159
PORTABLE_CONTAINER_NAME: Portable
160160
steps:
161161
- name: Checkout repository
162-
uses: actions/checkout@v2
162+
uses: actions/checkout@v3
163163
with:
164164
submodules: recursive
165165

.github/workflows/publish-base-env.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
matrix: ${{ steps.set-matrix.outputs.matrix }}
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717
- id: set-matrix
1818
name: Read config from matrix.json
1919
run: |
2020
TASKS=$(echo $(cat .github/workflows/matrix.json) | sed 's/ //g' )
21-
echo "::set-output name=matrix::$TASKS"
21+
echo "matrix=$TASKS" >> $GITHUB_OUTPUT
2222
2323
build-docker:
2424
needs: matrix-prep
@@ -29,21 +29,21 @@ jobs:
2929
contents: read
3030
packages: write
3131
steps:
32-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v3
3333

3434
- name: Log in to the Container registry
35-
uses: docker/login-action@v1
35+
uses: docker/login-action@v2
3636
with:
3737
registry: ${{ env.REGISTRY }}
3838
username: ${{ github.actor }}
3939
password: ${{ secrets.GITHUB_TOKEN }}
4040

4141
- name: Set up Docker Buildx
4242
id: buildx
43-
uses: docker/setup-buildx-action@v1
43+
uses: docker/setup-buildx-action@v2
4444

4545
- name: Cache Docker layers
46-
uses: actions/cache@v2
46+
uses: actions/cache@v3
4747
with:
4848
path: /tmp/.buildx-cache
4949
key: ${{ runner.os }}-buildx-${{env.IMAGE_NAME}}-${{ matrix.DOCKER_TAG }}
@@ -52,14 +52,14 @@ jobs:
5252
5353
- name: Docker meta
5454
id: meta
55-
uses: docker/metadata-action@v3
55+
uses: docker/metadata-action@v4
5656
with:
5757
images: ${{env.REGISTRY}}/${{github.repository}}/${{env.IMAGE_NAME}}
5858
tags: |
5959
type=raw,value=${{ matrix.DOCKER_TAG }}
6060
6161
- name: Build and push image
62-
uses: docker/build-push-action@v2
62+
uses: docker/build-push-action@v3
6363
with:
6464
context: docker
6565
push: true

.github/workflows/publish-c-family-cli-image.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ jobs:
2929
echo "DOCKER_TAG="$(date +%Y).$(date +%-m).$(date +%-d)-${{ env.COMMIT_SHORT_SHA }}"" >> $GITHUB_ENV
3030

3131
- name: Log in to the Container registry
32-
uses: docker/login-action@v1
32+
uses: docker/login-action@v2
3333
with:
3434
registry: ${{ env.REGISTRY }}
3535
username: ${{ github.actor }}
3636
password: ${{ secrets.GITHUB_TOKEN }}
3737

3838
- name: Set up Docker Buildx
39-
uses: docker/setup-buildx-action@v1
39+
uses: docker/setup-buildx-action@v2
4040

4141
- name: Cache Docker layers
42-
uses: actions/cache@v2
42+
uses: actions/cache@v3
4343
with:
4444
path: /tmp/.buildx-cache
4545
key: ${{ runner.os }}-buildx-${{ github.sha }}
@@ -48,7 +48,7 @@ jobs:
4848
4949
- name: Docker meta
5050
id: meta
51-
uses: docker/metadata-action@v3
51+
uses: docker/metadata-action@v4
5252
with:
5353
images: ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.IMAGE_NAME }}
5454
tags: |

.github/workflows/publish-utbot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
matrix: ${{ steps.set-matrix.outputs.matrix }}
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
- id: set-matrix
1919
name: Read config from matrix.json
2020
run: |
2121
TASKS=$(echo $(cat .github/workflows/matrix.json) | sed 's/ //g' )
22-
echo "::set-output name=matrix::$TASKS"
22+
echo "matrix=$TASKS" >> $GITHUB_OUTPUT
2323
2424
publish:
2525
needs: matrix-prep
@@ -41,7 +41,7 @@ jobs:
4141
ARTIFACT_DIR: utbot-artifact
4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v2
44+
uses: actions/checkout@v3
4545
with:
4646
submodules: recursive
4747
- name: set version
@@ -83,7 +83,7 @@ jobs:
8383
run: |
8484
chmod +x docker/action-scripts/prepare-ubuntu-release.sh
8585
./docker/action-scripts/prepare-ubuntu-release.sh
86-
- uses: actions/upload-artifact@v2
86+
- uses: actions/upload-artifact@v3
8787
with:
8888
name: utbot-${{ env.ARTIFACT_NAME }}
8989
path: ${{ env.ARTIFACT_DIR }}
@@ -93,9 +93,9 @@ jobs:
9393
runs-on: ubuntu-latest
9494
steps:
9595
- name: Checkout repository
96-
uses: actions/checkout@v2
96+
uses: actions/checkout@v3
9797
- name: Download a single artifact
98-
uses: actions/download-artifact@v2
98+
uses: actions/download-artifact@v3
9999
- name: Installation check
100100
run: |
101101
cd $(find . -name utbot-* -type d -print | head -n1)

0 commit comments

Comments
 (0)