Skip to content

Commit 0570f18

Browse files
committed
ci: bump actions to current majors and add CI badge to README
actions/checkout v5 → v6 and actions/upload-artifact v5 → v7. The previous v5 bump left upload-artifact on a Node.js 20 release that GitHub will force-migrate to Node.js 24 on 2026-06-02; the v7 line is already on Node.js 24 and clears the deprecation annotation. checkout v6 is the matching current major. README gets a top-of-page CI badge that links to the workflow page and turns red on the first failing run on main.
1 parent 95e5959 commit 0570f18

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Host unit tests
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515
- name: Build and run tests
1616
working-directory: tests
1717
run: |
@@ -35,7 +35,7 @@ jobs:
3535
ASAN_OPTIONS: detect_leaks=1:halt_on_error=1:abort_on_error=1
3636
UBSAN_OPTIONS: halt_on_error=1:abort_on_error=1:print_stacktrace=1
3737
steps:
38-
- uses: actions/checkout@v5
38+
- uses: actions/checkout@v6
3939
- name: Build with sanitizers and run
4040
working-directory: tests
4141
run: |
@@ -58,7 +58,7 @@ jobs:
5858
name: Static analysis (cppcheck)
5959
runs-on: ubuntu-latest
6060
steps:
61-
- uses: actions/checkout@v5
61+
- uses: actions/checkout@v6
6262
- name: Install cppcheck
6363
run: sudo apt-get update && sudo apt-get install -y cppcheck
6464
- name: Run cppcheck on application sources
@@ -76,7 +76,7 @@ jobs:
7676
name: Firmware cross-compile (arm-none-eabi-gcc)
7777
runs-on: ubuntu-latest
7878
steps:
79-
- uses: actions/checkout@v5
79+
- uses: actions/checkout@v6
8080
- name: Install ARM GCC toolchain
8181
run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi
8282
- name: Build bcm_master
@@ -90,7 +90,7 @@ jobs:
9090
arm-none-eabi-size bcm_master/build/bcm_master.elf
9191
arm-none-eabi-size lighting_node/build/lighting_node.elf
9292
- name: Upload firmware artifacts
93-
uses: actions/upload-artifact@v5
93+
uses: actions/upload-artifact@v7
9494
with:
9595
name: firmware-images
9696
path: |

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Two-Node BCM Control System
22

3+
[![CI](https://github.com/satyanar-lab/Two-Node-BCM-Control-System/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/satyanar-lab/Two-Node-BCM-Control-System/actions/workflows/ci.yml)
4+
35
An embedded C project demonstrating a two-node Body Control Module (BCM) system
46
communicating over CAN FD. One node reads physical switches and acts as the
57
bus master; the other drives lighting outputs based on received commands.

0 commit comments

Comments
 (0)