Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated workflow references #9

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 6 additions & 16 deletions .github/workflows/arduino.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
name: Arduino Lib
name: Arduino Library

on:
pull_request:
branches:
- master

jobs:
arduino-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/arduino-lint-action@v1
with:
library-manager: update

arduino-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Arduino-CI/action@stable-1.x
env:
EXPECT_EXAMPLES: true
Arduino-Checks:
uses: sensirion/.github/.github/workflows/upt.arduino.check.yml@main
with:
expect-arduino-examples: true
lint-lib-manager-check: update
10 changes: 5 additions & 5 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PIO Lib
name: PlatformIO Library

on:
pull_request:
Expand All @@ -12,25 +12,25 @@ on:

jobs:
PlatformIO-Check:
uses: sensirion/.github/.github/workflows/platformio_check.yml@main
uses: sensirion/.github/.github/workflows/upt.platformio.check.yml@main
with:
pio-environment-list: '["basicUsage", "advancedUsage", "hacksterExample"]'

PlatformIO-Build:
uses: sensirion/.github/.github/workflows/platformio_build.yml@main
uses: sensirion/.github/.github/workflows/upt.platformio.build.yml@main
needs: PlatformIO-Check
with:
pio-environment-list: '["basicUsage", "advancedUsage", "hacksterExample"]'

PlatformIO-Package:
if: ${{ (github.ref_type != 'tag') && (github.ref_name == 'master') }}
needs: PlatformIO-Build
uses: sensirion/.github/.github/workflows/platformio_publish.yml@main
uses: sensirion/.github/.github/workflows/upt.platformio.publish.yml@main
with:
should-publish: false

PlatformIO-Publish:
uses: sensirion/.github/.github/workflows/platformio_publish.yml@main
uses: sensirion/.github/.github/workflows/upt.platformio.publish.yml@main
if: github.ref_type == 'tag'
needs: PlatformIO-Build
with:
Expand Down
Loading