diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46f824c..4b56814 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,27 +13,38 @@ jobs: build: # The type of runner that the job will run on runs-on: self-hosted + timeout-minutes: 2880 steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - + # Runs a single command using the runners shell - - name: main + - name: Check all packages against Repology run: | + export DOCKER_DEFAULT_PLATFORM=linux/amd64 rm -rf src git clone https://github.com/kreatolinux/src cd src make deps make chkupd - mv src/chkupd/jsontomd.sh /tmp/ + mv scripts/jsontomd.sh /tmp/ mv out/chkupd /tmp/ cd .. rm -rf src cd /tmp/ ./chkupd checkAll --jsonPath=/tmp/chkupd.json --repo="$GITHUB_WORKSPACE" bash jsontomd.sh /tmp/chkupd.json > /tmp/chkupd.md + + - name: Check all packages against Arch Repositories + run: | + export DOCKER_DEFAULT_PLATFORM=linux/amd64 + cd /tmp/ + ./chkupd checkAll --jsonPath=/tmp/chkupd.json --backend="arch" --repo="$GITHUB_WORKSPACE" + echo "# Arch check results" >> /tmp/chkupd.md + bash jsontomd.sh /tmp/chkupd.json >> /tmp/chkupd.md rm -rf chkupd jsontomd.sh + - name: Create Pull Request