Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Add GH actions for pull request workflow (#14) #5

Add GH actions for pull request workflow (#14)

Add GH actions for pull request workflow (#14) #5

name: Pull Request Workflow
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