From eb24f406472d030621630b96696818dfaef3ff9c Mon Sep 17 00:00:00 2001 From: Ky-Anh Huynh Date: Thu, 17 Jun 2021 22:28:37 +0200 Subject: [PATCH 1/2] [github-action] added --- .github/workflows/ci.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..704f23c6 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,22 @@ +name: pacapt-tests + +on: + push: + branches-ignore: + - no-we-want-to-run-check-on-all-branches + +jobs: + smoke-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: shellcheck + run: | + sudo apt-get install libjson-perl liburi-perl + make shellcheck + + - name: tests + run: make tests From 14209ce0f93e87b51ab0bfcdbcd58be811b49734 Mon Sep 17 00:00:00 2001 From: Ky-Anh Huynh Date: Thu, 17 Jun 2021 22:34:20 +0200 Subject: [PATCH 2/2] [github-action] udpate status badge on readme.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a7463244..85985fdd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## `pacapt` - An `ArchLinux`'s pacman-like wrapper for many package managers -[![Build Status](https://travis-ci.org/icy/pacapt.svg?branch=ng)](https://travis-ci.org/icy/pacapt) +[![Build Status](https://github.com/icy/pacapt/actions)](https://github.com/icy/pacapt/actions/workflows/ci.yaml/badge.svg) `pacapt` is a wrapper for many package managers. Simply install package with `pacapt -S htop` or `pacapt install htop`