Skip to content

Commit affa676

Browse files
Fix GitHub Actions (#376)
* Fix GitHub Actions * Typo
1 parent dc8663b commit affa676

File tree

3 files changed

+31
-10
lines changed

3 files changed

+31
-10
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: Check out the repo
2222
uses: actions/checkout@v2
23+
with:
24+
fetch-depth: 0
2325

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

.github/workflows/release.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,25 @@ jobs:
1111
env:
1212
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
1313
steps:
14-
- uses: actions/checkout@v2
14+
- name: Check out the repo
15+
uses: actions/checkout@v2
1516
with:
1617
fetch-depth: 0
17-
- uses: actions/setup-python@v2
18+
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@v2
21+
with:
22+
install: true
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v2
1826
with:
1927
python-version: "3.10.x"
20-
- uses: snok/install-poetry@v1
28+
29+
- name: Set up Poetry
30+
uses: snok/install-poetry@v1
2131
with:
22-
version: "1.1.11"
32+
version: "1.1.13"
2333

2434
- name: Install project
2535
run: make install
@@ -28,7 +38,8 @@ jobs:
2838
- name: Run tests
2939
run: make test
3040

31-
- uses: paulhatch/[email protected]
41+
- name: Generate semver labels
42+
uses: paulhatch/[email protected]
3243
id: version
3344
with:
3445
tag_prefix: ""

.github/workflows/test.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,23 @@ jobs:
66
name: Test
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-python@v2
9+
- name: Check out the repo
10+
uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v2
1116
with:
1217
python-version: "3.10.x"
13-
- uses: snok/install-poetry@v1
18+
19+
- name: Set up Poetry
20+
uses: snok/install-poetry@v1
1421
with:
15-
version: "1.1.11"
22+
version: "1.1.13"
1623

17-
- uses: actions/cache@v2
24+
- name: Set up cache
25+
uses: actions/cache@v2
1826
id: cache-venv
1927
with:
2028
path: /home/runner/.cache/pypoetry/virtualenvs

0 commit comments

Comments
 (0)