diff options
| author | 67au <[email protected]> | 2021-12-11 18:01:16 +0800 |
|---|---|---|
| committer | Kunoi Sayami <[email protected]> | 2021-12-11 18:42:40 +0800 |
| commit | 190e3f5b2a43fbf847867c4c2d2d89a98d826135 (patch) | |
| tree | 08e00d885a0f556be30d280c04480eeb60176aff | |
| parent | 8cabf83ceb35cf34c108cf7f878bcd3018a77208 (diff) | |
feat(script): update check-aur-update.yml and add shebang to check-aur-update.py
Signed-off-by: 67au <[email protected]>
| -rw-r--r-- | .github/workflows/check-aur-update.yml | 10 | ||||
| -rwxr-xr-x | utils/aur/check-aur-update.py | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/check-aur-update.yml b/.github/workflows/check-aur-update.yml index c15d50f..9412fab 100644 --- a/.github/workflows/check-aur-update.yml +++ b/.github/workflows/check-aur-update.yml @@ -12,18 +12,16 @@ jobs: name: Build steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.10 - uses: actions/setup-python@v2 - - name: Install requirements and initialize submodules + - name: Set up base image + uses: 67au/[email protected] + - name: Initialize submodules shell: bash run: | git submodule update --init - python3 -m pip install -U -r utils/aur/requirements.txt - name: Check updates shell: bash run: | - ./utils/aur/aur-check-update.py repo + ./utils/aur/check-aur-update.py --parse-pkgbuild ./utils/parse-pkgbuild.sh repo - name: Set environments id: get_env shell: bash diff --git a/utils/aur/check-aur-update.py b/utils/aur/check-aur-update.py index 4385eeb..ca9deca 100755 --- a/utils/aur/check-aur-update.py +++ b/utils/aur/check-aur-update.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import asyncio import argparse import logging |
