-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 952 Bytes
/
extra-library-checks.yml
File metadata and controls
32 lines (26 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Extra Library Checks
on:
- pull_request
- push
jobs:
extra-library-checks:
runs-on: ubuntu-latest
env:
ARDUINO_CI_SCRIPT_FOLDER: extras/ci-tools/arduino-ci-script
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install arduino-ci-script
run: |
# install arduino-ci-script
git clone https://github.com/per1234/arduino-ci-script.git "$ARDUINO_CI_SCRIPT_FOLDER"
cd "$ARDUINO_CI_SCRIPT_FOLDER"
# Get new tags from the remote
git fetch --tags
# Checkout the latest tag
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
# See: https://github.com/per1234/arduino-ci-script#check_keywords_txt-searchpath-maximumsearchdepth
- name: Check keywords.txt
run: |
source "${ARDUINO_CI_SCRIPT_FOLDER}/arduino-ci-script.sh"
check_keywords_txt "$GITHUB_WORKSPACE"