Skip to content

Commit 0db0afd

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 04a2252 + 2691d3d commit 0db0afd

File tree

6 files changed

+55
-18
lines changed

6 files changed

+55
-18
lines changed

Diff for: .codespellrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# See: https://github.com/codespell-project/codespell#using-a-config-file
2+
[codespell]
3+
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
4+
ignore-words-list = ,
5+
check-filenames =
6+
check-hidden =
7+
skip = ./.git,./extras/TrustAnchors,./src/bearssl

Diff for: .github/workflows/compile-examples.yml

+23-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Compile Examples
22

3+
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
34
on:
45
pull_request:
56
paths:
@@ -11,6 +12,11 @@ on:
1112
- .github/workflows/compile-examples.yml
1213
- examples/**
1314
- src/**
15+
schedule:
16+
# Run every Tuesday at 8 AM UTC to catch breakage caused by changes to external resources (libraries, platforms).
17+
- cron: "0 8 * * TUE"
18+
workflow_dispatch:
19+
repository_dispatch:
1420

1521
jobs:
1622
build:
@@ -23,7 +29,10 @@ jobs:
2329
- source-path: ./
2430
- name: ArduinoECCX08
2531
# sketch paths to compile (recursive) for all boards
26-
UNIVERSAL_SKETCH_PATHS: '"examples/SHA1" "examples/SHA256"'
32+
UNIVERSAL_SKETCH_PATHS: |
33+
- examples/SHA1
34+
- examples/SHA256
35+
SKETCHES_REPORTS_PATH: sketches-reports
2736

2837
strategy:
2938
fail-fast: false
@@ -44,33 +53,38 @@ jobs:
4453
type: wifi101
4554
libraries: |
4655
- name: WiFi101
47-
sketch-paths: '"examples/WiFiSSLClient"'
56+
sketch-paths: |
57+
- examples/WiFiSSLClient
4858
# GSM boards
4959
- board:
5060
type: gsm
5161
libraries: |
5262
- name: MKRGSM
53-
sketch-paths: '"examples/MKRGSMSSLClient"'
63+
sketch-paths: |
64+
- examples/MKRGSMSSLClient
5465
5566
steps:
5667
- name: Checkout
5768
uses: actions/checkout@v2
5869

5970
- name: Compile examples
60-
uses: per1234/actions/libraries/compile-examples@beaac5ae4bb7ab294f1305e436172fde4c281fc8
71+
uses: arduino/compile-sketches@main
6172
with:
73+
github-token: ${{ secrets.GITHUB_TOKEN }}
6274
fqbn: ${{ matrix.board.fqbn }}
6375
libraries: |
6476
${{ env.UNIVERSAL_LIBRARIES }}
6577
${{ matrix.libraries }}
66-
sketch-paths: ${{ env.UNIVERSAL_SKETCH_PATHS }} ${{ matrix.sketch-paths }}
67-
size-report-sketch: SHA256
68-
enable-size-deltas-report: true
78+
sketch-paths: |
79+
${{ env.UNIVERSAL_SKETCH_PATHS }}
80+
${{ matrix.sketch-paths }}
6981
verbose: true
82+
enable-deltas-report: true
83+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
7084

7185
- name: Save sketches report as artifact
7286
if: github.event_name == 'pull_request'
7387
uses: actions/upload-artifact@v2
7488
with:
75-
name: size-deltas-reports
76-
path: size-deltas-reports
89+
path: ${{ env.SKETCHES_REPORTS_PATH }}
90+
name: ${{ env.SKETCHES_REPORTS_PATH }}

Diff for: .github/workflows/report-size-deltas.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
name: Report Size Deltas
22

3+
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
34
on:
5+
push:
6+
paths:
7+
- ".github/workflows/report-size-deltas.yml"
48
schedule:
5-
# schedule action for every five minutes (ends up being a little longer in practice)
9+
# Run at the minimum interval allowed by GitHub Actions.
10+
# Note: GitHub Actions periodically has outages which result in workflow failures.
11+
# In this event, the workflows will start passing again once the service recovers.
612
- cron: "*/5 * * * *"
13+
workflow_dispatch:
14+
repository_dispatch:
715

816
jobs:
917
report:
1018
runs-on: ubuntu-latest
1119

1220
steps:
1321
- name: Comment size deltas reports to PRs
14-
uses: arduino/actions/libraries/report-size-deltas@master
22+
uses: arduino/report-size-deltas@main
23+
with:
24+
# The name of the workflow artifact created by the sketch compilation workflow
25+
sketches-reports-source: sketches-reports

Diff for: .github/workflows/spell-check.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
name: Spell Check
22

3-
on: [push, pull_request]
3+
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4+
on:
5+
push:
6+
pull_request:
7+
schedule:
8+
# Run every Tuesday at 8 AM UTC to catch new misspelling detections resulting from dictionary updates.
9+
- cron: "0 8 * * TUE"
10+
workflow_dispatch:
11+
repository_dispatch:
412

513
jobs:
614
spellcheck:
715
runs-on: ubuntu-latest
816

917
steps:
10-
- name: Checkout
18+
- name: Checkout repository
1119
uses: actions/checkout@v2
1220

1321
- name: Spell check
14-
uses: arduino/actions/libraries/spell-check@master
15-
with:
16-
ignore-words-list: extras/codespell-ignore-words-list.txt
17-
skip-paths: ./extras/TrustAnchors,./src/bearssl
22+
uses: codespell-project/actions-codespell@master

Diff for: extras/codespell-ignore-words-list.txt

Whitespace-only changes.

Diff for: library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ArduinoBearSSL
2-
version=1.5.0
2+
version=1.6.0
33
author=Arduino
44
maintainer=Arduino <[email protected]>
55
sentence=Port of BearSSL to Arduino.

0 commit comments

Comments
 (0)