This repository has been archived by the owner on Oct 27, 2023. It is now read-only.
Adding unitest support #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
lint_bash: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: make build # Build Imager tool | |
- run: make shellcheck # Run ShellCheck | |
- run: make bashate # Run Bashate | |
lint_golang: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "stable" | |
- uses: golangci/golangci-lint-action@v3 | |
with: | |
version: "latest" | |
# - run: make generate |