diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml index bd9a1509..4de5ad61 100644 --- a/.github/workflows/arduino-lint.yml +++ b/.github/workflows/arduino-lint.yml @@ -16,11 +16,11 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 # See: https://github.com/arduino/arduino-lint-action#readme - name: Arduino Lint - uses: arduino/arduino-lint-action@v1 + uses: arduino/arduino-lint-action@v2 with: path: megaavr token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/check-code-formatting.yml b/.github/workflows/check-code-formatting.yml index 73d516c5..7a9a3cf1 100644 --- a/.github/workflows/check-code-formatting.yml +++ b/.github/workflows/check-code-formatting.yml @@ -5,14 +5,14 @@ on: paths: - ".github/workflows/check-code-formatting.yml" - "megaavr/bootloaders/**" -# - "megaavr/cores/**" + # - "megaavr/cores/**" - "megaavr/libraries/**" - "megaavr/variants/**" push: paths: - ".github/workflows/check-code-formatting.yml" - "megaavr/bootloaders/**" -# - "megaavr/cores/**" + # - "megaavr/cores/**" - "megaavr/libraries/**" - "megaavr/variants/**" # workflow_dispatch event allows the workflow to be triggered manually @@ -51,10 +51,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Check code formatting - uses: spencekonde/artistic-style-action@main + uses: wke67/artistic-style-action@main with: options-file-path: ${{ env.OPTIONS_FILE_PATH }} name-patterns: | @@ -62,31 +62,31 @@ jobs: target-paths: | - megaavr/bootloaders -# cores: -# runs-on: ubuntu-latest + cores: + runs-on: ubuntu-latest -# steps: -# - name: Checkout -# uses: actions/checkout@v4 + steps: + - name: Checkout + uses: actions/checkout@v6 -# - name: Check code formatting -# uses: per1234/artistic-style-action@main -# with: -# options-file-path: ${{ env.OPTIONS_FILE_PATH }} -# name-patterns: | -# ${{ env.NAME_PATTERNS }} -# target-paths: | -# - megaavr/cores + - name: Check code formatting + uses: wke67/artistic-style-action@main + with: + options-file-path: ${{ env.OPTIONS_FILE_PATH }} + name-patterns: | + ${{ env.NAME_PATTERNS }} + target-paths: | + - megaavr/cores libraries: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Check code formatting - uses: spencekonde/artistic-style-action@main + uses: wke67/artistic-style-action@main with: options-file-path: ${{ env.OPTIONS_FILE_PATH }} name-patterns: | @@ -99,10 +99,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Check code formatting - uses: spencekonde/artistic-style-action@main + uses: wke67/artistic-style-action@main with: options-file-path: ${{ env.OPTIONS_FILE_PATH }} name-patterns: | diff --git a/.github/workflows/check-keywords-txt.yml b/.github/workflows/check-keywords-txt.yml deleted file mode 100644 index f5796273..00000000 --- a/.github/workflows/check-keywords-txt.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Check keywords.txt - -on: - pull_request: - paths: - - ".github/workflows/check-keywords-txt.yml" - - "megaavr/libraries/**" - push: - paths: - - ".github/workflows/check-keywords-txt.yml" - - "megaavr/libraries/**" - # workflow_dispatch event allows the workflow to be triggered manually - # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch - workflow_dispatch: - # repository_dispatch event allows the workflow to be triggered via the GitHub API - # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#repository_dispatch - repository_dispatch: - -jobs: - check-keywords-txt: - runs-on: ubuntu-latest - - env: - ARDUINO_CI_SCRIPT_FOLDER_PATH: extras/ci/tools/arduino-ci-script - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install arduino-ci-script - uses: per1234/install-arduino-ci-script-action@main - with: - installation-path: ${{ env.ARDUINO_CI_SCRIPT_FOLDER_PATH }} - - - name: Check keywords.txt - run: | - source "${{ env.ARDUINO_CI_SCRIPT_FOLDER_PATH }}/arduino-ci-script.sh" - # https://github.com/per1234/arduino-ci-script#check_keywords_txt-searchpath-maximumsearchdepth - check_keywords_txt "${GITHUB_WORKSPACE}/megaavr/libraries" 1 diff --git a/.github/workflows/check-library-structure.yml b/.github/workflows/check-library-structure.yml index 17bd8314..510c6039 100644 --- a/.github/workflows/check-library-structure.yml +++ b/.github/workflows/check-library-structure.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install arduino-ci-script uses: per1234/install-arduino-ci-script-action@main diff --git a/.github/workflows/compile-examples-macros.yml b/.github/workflows/compile-examples-macros.yml index cd46f84c..d4c8244e 100644 --- a/.github/workflows/compile-examples-macros.yml +++ b/.github/workflows/compile-examples-macros.yml @@ -201,7 +201,6 @@ jobs: - device-family: dd int-osc: 20 - steps: - name: Checkout repository uses: actions/checkout@v6 @@ -228,7 +227,7 @@ jobs: # The sketches don't have any external library dependencies, so just define an empty array - verbose: false - enable-deltas-report: false + enable-deltas-report: true github-token: ${{ secrets.GITHUB_TOKEN }} enable-warnings-report: true sketches-report-path: sketches-reports diff --git a/.github/workflows/compile-regression-test.yml b/.github/workflows/compile-regression-test.yml index e6602b1c..9c8ea899 100644 --- a/.github/workflows/compile-regression-test.yml +++ b/.github/workflows/compile-regression-test.yml @@ -183,8 +183,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v6 - with: - ref: test # See: https://github.com/arduino/compile-sketches/README.md @@ -208,7 +206,7 @@ jobs: # The sketches don't have any external library dependencies, so just define an empty array - verbose: false - enable-deltas-report: false + enable-deltas-report: true github-token: ${{ secrets.GITHUB_TOKEN }} - enable-warnings-report: false + enable-warnings-report: true sketches-report-path: sketches-reports