Skip to content

Commit

Permalink
ci: upgrade action version (#60)
Browse files Browse the repository at this point in the history
* fix: upgrade the version of actions/checkout to v3

* fix: upgrade the version of docker/metadata-action to v4

* fix: upgrade the version of actions/setup-python to v4

* fix: upgrade the version of docker/setup-qemu-action to v2

* fix: upgrade the version of docker/setup-buildx-action to v2

* fix: upgrade the version of docker/build-push-action to v3

* fix: upgrade the version of codecov/codecov-action to v3
  • Loading branch information
floralatin committed Nov 1, 2022
1 parent b4d1131 commit 79c3ecb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install requirements
run: make init
- name: Run tests
run: pytest --cov=normalizer --cov=generator --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
8 changes: 4 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: jinahub/hubble-normalizer

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

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

- name: Login to DockerHub
uses: docker/login-action@v1
Expand All @@ -30,7 +30,7 @@ jobs:

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install requirements
run: make init
- name: Run tests
run: pytest --cov=normalizer --cov=generator --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml

Expand Down

0 comments on commit 79c3ecb

Please sign in to comment.