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

Upgrade all actions to remove warnings #213

Merged
merged 1 commit into from
Nov 17, 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
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
Loading