Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WonITKorea authored Dec 13, 2023
1 parent 6056058 commit 0c03ac1
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion .github/workflows/main.yml
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]
Expand Down

0 comments on commit 0c03ac1

Please sign in to comment.