Merge pull request #280 from edu-rossrobotics/feature/service_respons… #1411
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
- 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" |