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

Validate name of layer instances to only accept alphanumeric characters #99

Validate name of layer instances to only accept alphanumeric characters

Validate name of layer instances to only accept alphanumeric characters #99

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