Add deadcode to the github test suite
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
14
.github/workflows/check.yml
vendored
14
.github/workflows/check.yml
vendored
@@ -58,6 +58,20 @@ jobs:
|
||||
- name: Check Warewulf code for formatting (golang ${{ matrix.go-version }})
|
||||
run: test "$(make -s fmt | wc -l)" == 0
|
||||
|
||||
deadcode:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: ['1.21', '1.22', '1.23']
|
||||
steps:
|
||||
- name: Checkout Warewulf
|
||||
uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/prepare
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Check for dead Warewulf code (golang ${{ matrix.go-version }})
|
||||
run: make deadcode
|
||||
|
||||
testsuite:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user