From 8f4e1f380cce896705c94144fac07acae1dcbe6b Mon Sep 17 00:00:00 2001 From: "Staeck, Philipp" Date: Tue, 28 May 2024 11:09:48 +0200 Subject: [PATCH] update action versions --- .github/workflows/buf-lint.yml | 2 +- .github/workflows/build-java.yml | 6 +++--- .github/workflows/build-python.yml | 22 +++++++++++----------- .github/workflows/license-check.yml | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/buf-lint.yml b/.github/workflows/buf-lint.yml index 0d5a9c3..a069483 100644 --- a/.github/workflows/buf-lint.yml +++ b/.github/workflows/buf-lint.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: # Run `git checkout` - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Install the `buf` CLI - uses: bufbuild/buf-setup-action@v1 # Lint your Protobuf sources diff --git a/.github/workflows/build-java.yml b/.github/workflows/build-java.yml index ad22829..fe7dc8b 100644 --- a/.github/workflows/build-java.yml +++ b/.github/workflows/build-java.yml @@ -42,7 +42,7 @@ jobs: working-directory: ./java run: ./gradlew jar - name: Archive built jars - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: target_jars path: java/build/libs/*.jar @@ -53,7 +53,7 @@ jobs: # Run `git checkout` - uses: actions/checkout@v4 - name: Download t2iapi jar artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: target_jars path: java/build/libs/ @@ -74,7 +74,7 @@ jobs: working-directory: tests/java run: ./gradlew test - name: Archive test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test_results path: tests/java/build/reports/tests/test/**/*.* diff --git a/.github/workflows/build-python.yml b/.github/workflows/build-python.yml index f443bb2..a7e7b8c 100644 --- a/.github/workflows/build-python.yml +++ b/.github/workflows/build-python.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: # Run `git checkout` - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Source dependency versions working-directory: config run: | @@ -32,7 +32,7 @@ jobs: wget https://github.com/protocolbuffers/protobuf/releases/download/v${{ env.COMMON_PROTOC_VERSION }}/protoc-${{ env.COMMON_PROTOC_VERSION }}-linux-x86_64.zip -P ${{ runner.temp }}/protoc_install unzip ${{ runner.temp }}/protoc_install/*.zip -d ${{ runner.temp }}/protoc_install/protoc echo "${{ runner.temp }}/protoc_install/protoc/bin" >> $GITHUB_PATH - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - name: Install python dependencies @@ -44,7 +44,7 @@ jobs: working-directory: ./python run: python setup.py sdist bdist_wheel - name: Archive wheel - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist path: python/dist @@ -53,12 +53,12 @@ jobs: runs-on: ubuntu-latest needs: build-python steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - name: Download t2iapi wheel artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist - name: Install t2iapi package @@ -70,13 +70,13 @@ jobs: - name: run unit tests run: python ./tests/python/html_report.py - name: Archive freeze information - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: freeze path: pip_freeze.txt retention-days: 1 - name: Archive test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: html_unit_test path: unittest_results/*.html @@ -89,17 +89,17 @@ jobs: contents: write steps: - name: Download t2iapi wheel artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist path: dist/ - name: Download t2iapi test results artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: html_unit_test path: unittest_results/ - name: Download pip freeze - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: freeze path: freeze/ diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index 5327909..4f25065 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: # Run `git checkout` - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: viperproject/check-license-header@v1 with: path: .