Bumps [github.com/sassoftware/go-rpmutils](https://github.com/sassoftware/go-rpmutils) from 0.2.0 to 0.4.0. - [Release notes](https://github.com/sassoftware/go-rpmutils/releases) - [Commits](https://github.com/sassoftware/go-rpmutils/compare/v0.2.0...v0.4.0) Also updates minimum golang version to 1.21, as required. --- updated-dependencies: - dependency-name: github.com/sassoftware/go-rpmutils dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jonathon Anderson <janderson@ciq.com>
88 lines
2.1 KiB
YAML
88 lines
2.1 KiB
YAML
---
|
|
name: check
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- 'v4.*.x'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- 'v4.*.x'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version: ['1.21', '1.22']
|
|
steps:
|
|
- name: Checkout Warewulf
|
|
uses: actions/checkout@v4
|
|
- uses: ./.github/actions/prepare
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- name: Check Warewulf code with golang linter (golang ${{ matrix.go-version }})
|
|
run: make lint
|
|
|
|
vet:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version: ['1.21', '1.22']
|
|
steps:
|
|
- name: Checkout Warewulf
|
|
uses: actions/checkout@v4
|
|
- uses: ./.github/actions/prepare
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- name: Vet Warewulf code (golang ${{ matrix.go-version }})
|
|
run: make vet
|
|
|
|
fmt:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version: ['1.21', '1.22']
|
|
steps:
|
|
- name: Checkout Warewulf
|
|
uses: actions/checkout@v4
|
|
- uses: ./.github/actions/prepare
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- name: Check Warewulf code for formatting (golang ${{ matrix.go-version }})
|
|
run: test "$(make -s fmt | wc -l)" == 0
|
|
|
|
testsuite:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version: ['1.21','1.22']
|
|
steps:
|
|
- name: Checkout Warewulf
|
|
uses: actions/checkout@v4
|
|
- uses: ./.github/actions/prepare
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- name: Run the test suite (golang ${{ matrix.go-version }})
|
|
run: make test
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version: ['1.21','1.22']
|
|
steps:
|
|
- name: Checkout Warewulf
|
|
uses: actions/checkout@v4
|
|
- uses: ./.github/actions/prepare
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- name: Build Warewulf (golang ${{ matrix.go-version }})
|
|
run: make all
|