-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6056058
commit 0c03ac1
Showing
1 changed file
with
37 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,40 @@ | ||
- name: arduino/arduino-lint-action | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
jobs: | ||
# This is the name of the job - can be whatever. | ||
test-matrix: | ||
|
||
# Here we tell GitHub that the jobs must be determined | ||
# dynamically depending on a matrix configuration. | ||
strategy: | ||
matrix: | ||
# The matrix will produce one job for each configuration | ||
# parameter of type `arduino-platform`, in this case a | ||
# total of 2. | ||
arduino-platform: ["arduino:samd", "arduino:avr"] | ||
# This is usually optional but we need to statically define the | ||
# FQBN of the boards we want to test for each platform. In the | ||
# future the CLI might automatically detect and download the core | ||
# needed to compile against a certain FQBN, at that point the | ||
# following `include` section will be useless. | ||
include: | ||
# This works like this: when the platform is "arduino:samd", the | ||
# variable `fqbn` is set to "arduino:samd:nano_33_iot". | ||
- arduino-platform: "arduino:samd" | ||
fqbn: "arduino:samd:nano_33_iot" | ||
- arduino-platform: "arduino:avr" | ||
fqbn: "arduino:avr:unowifi" | ||
|
||
# This is the platform GitHub will use to run our workflow, we | ||
# pick Windows for no particular reason. | ||
runs-on: windows-latest | ||
|
||
# This is the list of steps this job will run. | ||
steps: | ||
- name: arduino/arduino-lint-action | ||
# You may pin to the exact commit or the version. | ||
# uses: arduino/arduino-lint-action@e9a30879471dcbf7d9fe3481b26e60b652cca297 | ||
uses: arduino/[email protected] | ||
|