Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update action versions #78

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading