Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 6a0766f

Browse files
authored
Merge pull request #16 from fastapi-mvc/update_actions
Update GitHub actions
2 parents 9d71312 + 7d135a7 commit 6a0766f

File tree

5 files changed

+19
-18
lines changed

5 files changed

+19
-18
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636

3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v3
3939
- name: Install Nix ❄️
4040
uses: cachix/install-nix-action@v17
4141
with:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This file documents changes to [fastapi-mvc/cookiecutter](https://github.com/fas
1111

1212
### Internal
1313

14+
* Update GitHub actions [#14](https://github.com/fastapi-mvc/cookiecutter/issues/14).PR [#16](https://github.com/fastapi-mvc/cookiecutter/pull/16)
1415
* Add CI workflow for executing template checks [#3](https://github.com/fastapi-mvc/cookiecutter/issues/3). PR [#6](https://github.com/fastapi-mvc/cookiecutter/pull/6)
1516

1617
## 0.1.0 (18.09.2022)

{{cookiecutter.folder_name}}/.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
# Feel free to remove it.
3434
- name: echo distinct ID ${{ github.event.inputs.distinct_id }}
3535
run: echo ${{ github.event.inputs.distinct_id }}
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
3737
- name: Set up Python
38-
uses: actions/setup-python@v2
38+
uses: actions/setup-python@v4
3939
with:
4040
python-version: 3.9
4141
- name: Load Poetry cache
@@ -47,7 +47,7 @@ jobs:
4747
- name: Build documentation
4848
run: make docs
4949
- name: Archive build artifacts
50-
uses: actions/upload-artifact@v2
50+
uses: actions/upload-artifact@v3
5151
with:
5252
name: ${{ format('docs-{0}', github.sha) }}
5353
path: site

{{cookiecutter.folder_name}}/.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: macos-12
3131

3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
3434
- name: Run vagrant up
3535
run: vagrant up
3636
- name: Bootstrap minukube cluster and Redis operator

{{cookiecutter.folder_name}}/.github/workflows/main.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
5151

5252
steps:
53-
- uses: actions/checkout@v2
53+
- uses: actions/checkout@v3
5454
- name: Set up Python ${{ matrix.python-version }}
55-
uses: actions/setup-python@v2
55+
uses: actions/setup-python@v4
5656
with:
5757
python-version: ${{ matrix.python-version }}
5858
- name: Init Poetry cache
@@ -69,9 +69,9 @@ jobs:
6969
runs-on: ubuntu-latest
7070

7171
steps:
72-
- uses: actions/checkout@v2
72+
- uses: actions/checkout@v3
7373
- name: Set up Python
74-
uses: actions/setup-python@v2
74+
uses: actions/setup-python@v4
7575
with:
7676
python-version: 3.9
7777
- name: Load Poetry cache
@@ -82,7 +82,7 @@ jobs:
8282
- name: Build wheel
8383
run: make build
8484
- name: Archive build artifacts
85-
uses: actions/upload-artifact@v2
85+
uses: actions/upload-artifact@v3
8686
with:
8787
name: ${{ format('fastapi_mvc-{0}', github.sha) }}
8888
path: dist
@@ -96,9 +96,9 @@ jobs:
9696
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
9797

9898
steps:
99-
- uses: actions/checkout@v2
99+
- uses: actions/checkout@v3
100100
- name: Set up Python ${{ matrix.python-version }}
101-
uses: actions/setup-python@v2
101+
uses: actions/setup-python@v4
102102
with:
103103
python-version: ${{ matrix.python-version }}
104104
- name: Load Poetry cache
@@ -117,9 +117,9 @@ jobs:
117117
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
118118

119119
steps:
120-
- uses: actions/checkout@v2
120+
- uses: actions/checkout@v3
121121
- name: Set up Python ${{ matrix.python-version }}
122-
uses: actions/setup-python@v2
122+
uses: actions/setup-python@v4
123123
with:
124124
python-version: ${{ matrix.python-version }}
125125
- name: Load Poetry cache
@@ -138,9 +138,9 @@ jobs:
138138
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
139139

140140
steps:
141-
- uses: actions/checkout@v2
141+
- uses: actions/checkout@v3
142142
- name: Set up Python ${{ matrix.python-version }}
143-
uses: actions/setup-python@v2
143+
uses: actions/setup-python@v4
144144
with:
145145
python-version: ${{ matrix.python-version }}
146146
- name: Load Poetry cache
@@ -155,9 +155,9 @@ jobs:
155155
runs-on: ubuntu-latest
156156

157157
steps:
158-
- uses: actions/checkout@v2
158+
- uses: actions/checkout@v3
159159
- name: Set up Python ${{ matrix.python-version }}
160-
uses: actions/setup-python@v2
160+
uses: actions/setup-python@v4
161161
with:
162162
python-version: 3.9
163163
- name: Load Poetry cache

0 commit comments

Comments
 (0)