Skip to content

Commit

Permalink
Upgrade all actions to remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanperret committed Nov 8, 2024
1 parent a6274f1 commit 3dde5f6
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
using: "composite"
steps:
# Cache pip & platformio
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/archive_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
27 changes: 15 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3dde5f6

Please sign in to comment.