From eaa679812deecf2e8b70b01b20c2d703c632ee33 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Mon, 24 Jun 2024 12:41:56 -0400 Subject: [PATCH] Update checkout, tests, links. Add dependabot Signed-off-by: Sara Damiano --- .github/dependabot.yml | 10 ++++++++++ .github/workflows/test-action-bypass.yml | 4 ++-- .github/workflows/test-action.yml | 13 ++++++------- README.md | 18 +++++++++--------- 4 files changed, 27 insertions(+), 18 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..0f88bec --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'daily' + labels: + - 'CI/CD' + commit-message: + prefix: ci diff --git a/.github/workflows/test-action-bypass.yml b/.github/workflows/test-action-bypass.yml index 0e88285..5497150 100644 --- a/.github/workflows/test-action-bypass.yml +++ b/.github/workflows/test-action-bypass.yml @@ -2,7 +2,7 @@ name: Test action on: pull_request: - branches: [ main ] + branches: [main] paths: - '**.md' @@ -14,7 +14,7 @@ jobs: steps: # Bypass this workflow - run: 'echo "No build required" ' - + build-with-version: name: Build with version runs-on: ubuntu-latest diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index cef30bc..728f8a9 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -14,16 +14,16 @@ jobs: steps: # Checks-out repo - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Use the local action - name: Setup PlatformIO (without version) uses: ./ - + # Check if pio command works - name: Check pio command run: pio --help - + build-with-version: name: Build with version runs-on: ubuntu-latest @@ -31,15 +31,14 @@ jobs: steps: # Checks-out repo - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Use the local action - name: Setup PlatformIO (with version) uses: ./ with: - platformio-version: "5.2.5" - + platformio-version: "6.1.11" + # Check if pio command works - name: Check pio command run: pio --help - diff --git a/README.md b/README.md index 46b5f15..ca2abc1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Setup PlatformIO -[![Test action](https://github.com/n-vr/setup-platformio-action/actions/workflows/test-action.yml/badge.svg)](https://github.com/n-vr/setup-platformio-action/actions/workflows/test-action.yml) +[![Test action](https://github.com/EnviroDIY/setup-platformio-action/actions/workflows/test-action.yml/badge.svg)](https://github.com/EnviroDIY/setup-platformio-action/actions/workflows/test-action.yml) This actions sets up PlatformIO for use in actions. @@ -8,15 +8,15 @@ This actions sets up PlatformIO for use in actions. ### Use newest PlatformIO version ```yaml - name: Setup PlatformIO - uses: n-vr/setup-platformio-action@v1 + uses: EnviroDIY/setup-platformio-action@v1 ``` ### Specify the version of PlatformIO you want to use ```yaml - name: Setup PlatformIO - uses: n-vr/setup-platformio-action@v1 + uses: EnviroDIY/setup-platformio-action@v1 with: - platformio-version: "5.2" + platformio-version: "6.1" ``` > See [inputs](#platformio-version-optional) for more info. @@ -39,12 +39,12 @@ jobs: steps: # Checkout repository - name: Checkout code - uses: actions/checkout@v2 - + uses: actions/checkout@v4 + # Setup PlatformIO in PATH - name: Setup PlatformIO - uses: n-vr/setup-platformio-action@v1 - + uses: EnviroDIY/setup-platformio-action@v1 + # Build the PlatformIO project - name: Build PlatformIO project run: pio run @@ -54,7 +54,7 @@ jobs: Use the `with` keyword to specify these inputs #### `platformio-version` (optional) -Specify the PlatformIO to set up. Use semantic versioning (e.g. "5.2.5", "5.2" or "5"). If no version is specified, the newest version is used. +Specify the PlatformIO to set up. Use semantic versioning (e.g. "6.1.11", "6.1" or "6"). If no version is specified, the newest version is used. ## License Distributed under the MIT license. See [LICENSE.md](LICENSE.md) for more information.