From bc60537cb189bb0df9fe3592211c0a868a122c10 Mon Sep 17 00:00:00 2001 From: jongwooo Date: Sun, 11 Dec 2022 14:49:02 +0900 Subject: [PATCH 1/2] chore: Create requirements.txt --- requirements.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..6c000f2 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +aiohttp==3.8.3 +aiosignal==1.3.1 +async-timeout==4.0.2 +attrs==22.1.0 +charset-normalizer==2.1.1 +frozenlist==1.3.3 +idna==3.4 +multidict==6.0.3 +yarl==1.8.2 From eaeba59036d2abf98241f04a40f29dd4a7b9dc1f Mon Sep 17 00:00:00 2001 From: jongwooo Date: Sun, 11 Dec 2022 14:50:09 +0900 Subject: [PATCH 2/2] chore: Use setup-python action to cache dependencies --- .github/workflows/update.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 05dbc59..75d56fc 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -21,14 +21,14 @@ jobs: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: pip - - name: Install dependencies (`aiohttp`) + - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install aiohttp + python -m pip install -r requirements.txt - name: Run script run: |