Skip to content

Commit ea56e62

Browse files
committed
fix github action's version
1 parent e50f099 commit ea56e62

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.github/workflows/deploy_on_dev.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.10']
14+
python-version: ["3.10"]
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
#- uses: psf/black@stable
1919
# with:
2020
# options: "--check --verbose"
2121

2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

@@ -75,7 +75,6 @@ jobs:
7575
sparse-checkout: |
7676
${{ steps.info.outputs.repository_name }}/zappa_settings.json
7777
- run: mv secret_envs/${{ steps.info.outputs.repository_name }}/zappa_settings.json ./zappa_settings.json && rm -rf secret_envs
78-
7978
# - name: Test with Django Test
8079
# run: |
8180
# source ./zappa-env/bin/activate
@@ -87,7 +86,7 @@ jobs:
8786
# pytest .
8887

8988
- name: Configure AWS Credentials
90-
uses: aws-actions/configure-aws-credentials@v1
89+
uses: aws-actions/configure-aws-credentials@v4
9190
with:
9291
aws-access-key-id: ${{ secrets.PYCON_DEV_2023_AWS_KEY }}
9392
aws-secret-access-key: ${{ secrets.PYCON_DEV_2023_AWS_SECRET }}

.github/workflows/deploy_on_prod.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.10']
14+
python-version: ["3.10"]
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
#- uses: psf/black@stable
1919
# with:
2020
# options: "--check --verbose"
2121

2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

@@ -75,7 +75,6 @@ jobs:
7575
sparse-checkout: |
7676
${{ steps.info.outputs.repository_name }}/zappa_settings.json
7777
- run: mv secret_envs/${{ steps.info.outputs.repository_name }}/zappa_settings.json ./zappa_settings.json && rm -rf secret_envs
78-
7978
# - name: Test with Django Test
8079
# run: |
8180
# source ./zappa-env/bin/activate
@@ -87,7 +86,7 @@ jobs:
8786
# pytest .
8887

8988
- name: Configure AWS Credentials
90-
uses: aws-actions/configure-aws-credentials@v1
89+
uses: aws-actions/configure-aws-credentials@v4
9190
with:
9291
aws-access-key-id: ${{ secrets.PYCON_DEV_2023_AWS_KEY }}
9392
aws-secret-access-key: ${{ secrets.PYCON_DEV_2023_AWS_SECRET }}

.github/workflows/pull-request-merge-precondition.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ['3.10']
15+
python-version: ["3.10"]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
with:
2020
persist-credentials: true # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
2121
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo

0 commit comments

Comments
 (0)