Skip to content

Add Credential Reuse Protocol #4

Add Credential Reuse Protocol

Add Credential Reuse Protocol #4

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
golangci-lint:
name: Lint Go Source

Check failure on line 12 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 12, Col: 5): Required property is missing: runs-on .github/workflows/lint.yml (Line: 30, Col: 5): Required property is missing: runs-on
container:
image: golangci/golangci-lint:latest-alpine
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Lint Go source files
run: |
apk add --no-cache gcc g++ openssl-dev
go work init
go work use -r .
golangci-lint run ./...
golangci-lint run ./examples/...
golangci-lint run ./fsim/...
golangci-lint run ./sqlite/...
golangci-lint run ./tpm/...
shellcheck:
name: Lint Shell Scripts
container:
image: koalaman/shellcheck-alpine
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run ShellCheck
run: find . \( -name "*.sh" -o -name "*.bash" \) -exec shellcheck '{}' +
markdownlint:
name: Lint Documentation Markdown
container:
image: node:20-alpine
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Lint all markdown
run: npx markdownlint-cli2 --config .markdownlint.yml '**/*.md'