Skip to content

Commit

Permalink
update action versions (#78)
Browse files Browse the repository at this point in the history
The purpose of this PR is to update all action version that causes
deprecation warnings

# Checklist

The following aspects have been respected by the author of this pull
request, confirmed by both pull request assignee **and** reviewer:

* Changelog update (necessity checked and entry added or not added
respectively)
  * [x] Pull Request Assignee
  * [x] Reviewer
* README update (necessity checked and entry added or not added
respectively)
  * [x] Pull Request Assignee
  * [x] Reviewer

Co-authored-by: Staeck, Philipp <[email protected]>
  • Loading branch information
pstaeck and pstaeck authored May 28, 2024
1 parent 87c0432 commit 6a56dae
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/buf-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand All @@ -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/**/*.*
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/build-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand Down

0 comments on commit 6a56dae

Please sign in to comment.