diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 3b195073c..52aece5be 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -7,7 +7,7 @@ runs: using: "composite" steps: # Cache pip & platformio - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cache/pip @@ -18,7 +18,7 @@ runs: pip install --upgrade platformio shell: bash # Install sonar-scanner and build-wrapper - - uses: SonarSource/sonarcloud-github-c-cpp@v2 + - uses: SonarSource/sonarcloud-github-c-cpp@v3 # Build for Arduino UNO - run: | build-wrapper-linux-x86-64 --out-dir ${{ inputs.BUILD_WRAPPER_OUT_DIR }} platformio run --environment uno diff --git a/.github/workflows/archive_build.yml b/.github/workflows/archive_build.yml index 1e9a4a3f8..4276aa7c6 100644 --- a/.github/workflows/archive_build.yml +++ b/.github/workflows/archive_build.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo and submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 @@ -14,7 +14,7 @@ jobs: with: BUILD_WRAPPER_OUT_DIR: build_wrapper_out_dir - name: Archive build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{format('{0}-{1}',github.sha,github.run_number)}} path: build/*.hex diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 7a24be4f8..40364f6de 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo and submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 @@ -24,15 +24,15 @@ jobs: tag: ${{ github.ref_name }} name: Release ${{ github.ref_name }} commit: ${{ github.sha }} - body: "" # release message, alternative to body_path - # body_path: release_text.md # uncomment if not used + # Avoid overwriting body that may have been manually edited + omitBodyDuringUpdate: true draft: ${{ startsWith(github.ref_name,'test')}} prerelease: false allowUpdates: true artifacts: build/*.hex replacesArtifacts: true - name: Deploy source code documentation to pages - uses: DenverCoder1/doxygen-github-pages-action@v1.3.0 + uses: DenverCoder1/doxygen-github-pages-action@v1.3.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 46ff8cbdf..d90175b59 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -11,7 +11,7 @@ jobs: if: ${{!github.event.pull_request.draft}} steps: - name: Checkout repo and submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 @@ -20,7 +20,7 @@ jobs: with: BUILD_WRAPPER_OUT_DIR: build_wrapper_out_dir - name: Cache test setup - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ./test/build diff --git a/.gitignore b/.gitignore index 4fbf21afe..5eb661208 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,15 @@ -build* -.dep/ -*.o -*.hex -*.a -.*/* -!.github/ -*.pu -html -*.swp - -src/ayab/version.h +# PlatformIO +/.pio/ + +# IDEs +/.vscode/ +/.idea/ + +# CMake +/test/build/ + +# Doxygen +/doc/docs/ + +# Autogenerated version file +/src/ayab/version.h \ No newline at end of file