From 6f3c0c019689b1d56d354b4dfd83f6102f62eeb5 Mon Sep 17 00:00:00 2001 From: 67au Date: Sun, 12 Dec 2021 00:12:15 +0800 Subject: fix(ci): Fix workflow not process checkout in container Signed-off-by: 67au --- .github/workflows/aur-check-update.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.github/workflows/aur-check-update.yml') diff --git a/.github/workflows/aur-check-update.yml b/.github/workflows/aur-check-update.yml index 831e3a2..87c2046 100644 --- a/.github/workflows/aur-check-update.yml +++ b/.github/workflows/aur-check-update.yml @@ -11,17 +11,18 @@ on: jobs: check-update: runs-on: ubuntu-latest + container: archlinux:latest strategy: fail-fast: true name: Build steps: - uses: actions/checkout@v2 - - name: Set up base image - uses: 67au/check-aur-update-github-action@v0.1.0 - - name: Initialize submodules + - name: Install requirements and initialize submodules shell: bash run: | + pacman-key --init + pacman --noconfirm --needed -Syu git python pyalpm python-aiohttp python-aiofiles git submodule update --init - name: Check updates shell: bash -- cgit v1.3.1