Update dependency @typescript-eslint/parser to v8 #1020
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run static analysis checks | |
name: Static Analysis | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref_name != 'main' }} | |
jobs: | |
analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" # The Go version to download (if necessary) and use. | |
check-latest: true | |
- run: go version | |
- name: Run go vet | |
run: go vet ./... | |
- name: Install and run errcheck | |
run: | | |
export PATH=${PATH}:`go env GOPATH`/bin | |
go install github.com/kisielk/errcheck@latest | |
errcheck ./... | |
# aligncheck doesn't yet support go1.18 | |
# - name: Install and run aligncheck | |
# run: | | |
# go get -u gitlab.com/opennota/check/cmd/aligncheck@latest | |
# aligncheck ./... || echo "aligncheck detected inefficiently packed structs" | |
- name: Check yaml field names and yaml tags | |
run: tools/validate/validateYaml.py | |
- name: Check json tags | |
run: tools/validate/validateJson.py |