Skip to content

Create sqlite.Init function for connections that are not local files #23

Create sqlite.Init function for connections that are not local files

Create sqlite.Init function for connections that are not local files #23

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
golangci-lint:
name: Lint Go Source
runs-on: ubuntu-latest
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
export GOFLAGS=-buildvcs=false
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
runs-on: ubuntu-latest
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
runs-on: ubuntu-latest
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'