branch: externals/flymake-codespell
commit b95cb597303616945c4270db2df26d13d69c530e
Author: Stefan Kangas <stefankan...@gmail.com>
Commit: Stefan Kangas <stefankan...@gmail.com>

    Add GitHub CI workflow
---
 .github/FUNDING.yml        |  1 +
 .github/dependabot.yml     | 11 +++++++++++
 .github/workflows/test.yml | 37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 0000000000..cf3cdf7230
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1 @@
+custom: ["https://www.paypal.me/StefanKangas";]
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000000..8eb3c27c3e
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,11 @@
+# Check for outdated GitHub Actions in workflows.
+
+# See 
https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#about-the-dependabotyml-file
+version: 2
+
+updates:
+  # See 
https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
+  - package-ecosystem: github-actions
+    directory: "/"
+    schedule:
+      interval: "daily"
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..74ee55282c
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,37 @@
+name: test
+on: [ push, pull_request ]
+permissions: {}
+jobs:
+  test:
+    runs-on: ubuntu-latest
+
+    strategy:
+      matrix:
+        emacs_version:
+        - 25.1
+        - 25.3
+        - 26.1
+        - 26.2
+        - 26.3
+        - 27.1
+        - 27.2
+        - 28.1
+        - 28.2
+        - snapshot
+      fail-fast: false
+
+    steps:
+    - name: Checkout flymake-codespell
+      uses: actions/checkout@v3
+      with:
+        repository: skangas/flymake-codespell
+        path: flymake-codespell
+        persist-credentials: false
+
+    - name: Install emacs
+      uses: purcell/setup-emacs@master
+      with:
+        version: ${{ matrix.emacs_version }}
+
+    - name: Build flymake-codespell
+      run: make -C flymake-codespell all

Reply via email to