Skip to content

Commit 68a5cc7

Browse files
authored
Merge branch 'main' into v0.1.0
2 parents 307e956 + 1221efd commit 68a5cc7

File tree

5 files changed

+41
-19
lines changed

5 files changed

+41
-19
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,31 @@ on:
1414
schedule:
1515
- cron: '0 6 * * *' # Daily 6AM UTC build
1616

17+
env:
18+
pythonversion: 3.9
19+
1720

1821
jobs:
1922

23+
dependency-audit:
24+
name: Dependency audit
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v3
28+
- name: install python
29+
uses: actions/[email protected]
30+
with:
31+
python-version: ${{env.pythonversion}}
32+
- name: create local poetry install
33+
run: |
34+
python -m venv .venv
35+
source .venv/bin/activate
36+
python -m pip install poetry
37+
poetry install
38+
- uses: trailofbits/[email protected]
39+
with:
40+
virtual-environment: .venv
41+
2042
lint:
2143
name: Linter
2244
runs-on: ubuntu-latest
@@ -25,9 +47,9 @@ jobs:
2547
- name: Checkout
2648
uses: actions/checkout@v3
2749
- name: Setup Python 3.9
28-
uses: actions/setup-python@v4.2.0
50+
uses: actions/setup-python@v4.3.0
2951
with:
30-
python-version: 3.9
52+
python-version: ${{env.pythonversion}}
3153
#----------------------------------------------
3254
# ----- install & configure poetry -----
3355
#----------------------------------------------
@@ -42,7 +64,7 @@ jobs:
4264
#----------------------------------------------
4365
- name: Load cached venv
4466
id: cached-poetry-dependencies
45-
uses: actions/cache@v3
67+
uses: actions/cache@v3.0.11
4668
with:
4769
path: .venv
4870
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
@@ -97,7 +119,7 @@ jobs:
97119
- name: Checkout
98120
uses: actions/checkout@v3
99121
- name: Setup Python ${{ matrix.pyver }}
100-
uses: actions/setup-python@v4.2.0
122+
uses: actions/setup-python@v4.3.0
101123
with:
102124
python-version: ${{ matrix.pyver }}
103125
#----------------------------------------------
@@ -114,7 +136,7 @@ jobs:
114136
#----------------------------------------------
115137
- name: Load cached venv
116138
id: cached-poetry-dependencies
117-
uses: actions/cache@v3
139+
uses: actions/cache@v3.0.11
118140
with:
119141
path: .venv
120142
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

.github/workflows/pypi-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
value: "${{ steps.get_version.outputs.VERSION }}"
2828

2929
- name: Set up Python 3.9
30-
uses: actions/setup-python@v1
30+
uses: actions/setup-python@v4.3.0
3131
with:
3232
python-version: 3.9
3333

3434
- name: Cache Poetry virtualenv
35-
uses: actions/cache@v1
35+
uses: actions/cache@v3.0.11
3636
id: cache
3737
with:
3838
path: ~/.virtualenvs

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
# branches to consider in the event; optional, defaults to all
66
branches:
7-
- master
7+
- main
88

99
jobs:
1010
update_release_draft:

poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pptree = "^3.1"
4343
types-redis = ">=3.5.9,<5.0.0"
4444
python-ulid = "^1.0.3"
4545
cleo = "1.0.0a5"
46-
typing-extensions = "^4.0.0"
46+
typing-extensions = "^4.4.0"
4747
hiredis = "^2.0.0"
4848
more-itertools = "^8.14.0"
4949

0 commit comments

Comments
 (0)