diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..23c4cb3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +--- +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml new file mode 100644 index 0000000..bd19e1c --- /dev/null +++ b/.github/workflows/make.yml @@ -0,0 +1,33 @@ +--- +name: Make + +on: + push: + branches: + - "**" + pull_request: + branches: + - master + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: ${{ matrix.os }} + timeout-minutes: 120 + strategy: + matrix: + os: + - ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + + - name: Build on Linux + if: runner.os == 'Linux' + shell: bash + run: bash -x make.sh build diff --git a/make.sh b/make.sh new file mode 100644 index 0000000..09e90ab --- /dev/null +++ b/make.sh @@ -0,0 +1,69 @@ +#!/usr/bin/env bash + +function priv_clippit +( + cat <&2 + + ;; + esac + else + priv_clippit + fi +) + +priv_main "${@}" >/dev/null