Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed Sep 30, 2023
1 parent e833085 commit 3ecfc14
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-python-dev/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
using: composite
steps:
- name: Install python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ inputs.python-version }}
- name: Install poetry & tox
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup dev environment
uses: ./.github/actions/setup-python-dev
with:
Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build docker image
run: docker build --tag adferrand/dnsrobocert:temp .
- name: Run docker unit tests
Expand All @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup dev environment
uses: ./.github/actions/setup-python-dev
- name: Run tox
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
needs: [main]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup dev environment
uses: ./.github/actions/setup-python-dev
- run: poetry publish --build --username "${PYPI_USERNAME}" --password "${PYPI_PASSWORD}"
Expand All @@ -22,17 +22,17 @@ jobs:
runs-on: ubuntu-latest
needs: [main]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: setup-dev
name: Setup dev environment
uses: ./.github/actions/setup-python-dev
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v2
- uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
Expand All @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
needs: [pypi, docker]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: setup-dev
name: Setup dev environment
uses: ./.github/actions/setup-python-dev
Expand Down

0 comments on commit 3ecfc14

Please sign in to comment.