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

make layerfile name definition validation tests more reliable #122

make layerfile name definition validation tests more reliable

make layerfile name definition validation tests more reliable #122

Workflow file for this run

name: Lint and Format
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable
- name: Install Tools
run: |
go install golang.org/x/tools/cmd/goimports@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Linting
run: make lint
- name: Formatting
run: |
make fmt
git diff --exit-code