Skip to content

Expand LSP capabilities, add full Go ASN.1 frontend, and broaden CI coverage #44

Expand LSP capabilities, add full Go ASN.1 frontend, and broaden CI coverage

Expand LSP capabilities, add full Go ASN.1 frontend, and broaden CI coverage #44

Workflow file for this run

name: Continous Integration
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
# Run the same suite on Linux, macOS, and Windows. Windows uses
# backslash as its path separator and is case-insensitive for file
# names, both of which used to trip up path-handling tests until
# the cleanup tracked in issue #629.
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
# The TTCN-3 conformance test suite under
# testdata/ttcn3-conformance-tests/ has paths > 260 chars,
# which trips Windows' MAX_PATH limit during checkout. This
# config must run BEFORE actions/checkout so the clone itself
# can write the long paths.
- name: Enable Git long paths (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: git config --system core.longpaths true
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Test
run: go test -race ./...
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60