From 190e3f5b2a43fbf847867c4c2d2d89a98d826135 Mon Sep 17 00:00:00 2001 From: 67au Date: Sat, 11 Dec 2021 18:01:16 +0800 Subject: feat(script): update check-aur-update.yml and add shebang to check-aur-update.py Signed-off-by: 67au --- .github/workflows/check-aur-update.yml | 10 ++++------ 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/check-aur-update-github-action@v0.1.0 + - 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 -- cgit v1.3.1