chore(deps): update dependency dprint/dprint-plugin-markdown to v0.19… #876
This file contains hidden or 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
name: CI | |
permissions: {} | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: ${{ github.ref_name != 'main' }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
fetch-depth: 0 # required for git am --3way to work properly | |
submodules: true | |
persist-credentials: false | |
- uses: oxc-project/setup-node@fdbf0dfd334c4e6d56ceeb77d91c76339c2a0885 # v1.0.4 | |
- uses: ./.github/actions/setup | |
- name: Run go tests | |
run: go test ./internal/... | |
- name: Build | |
run: just build | |
- name: Run e2e tests | |
run: | | |
pnpm install --frozen-lockfile | |
pnpm run test | |
working-directory: e2e | |
test-windows: | |
if: ${{ github.ref_name == 'main' }} | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
fetch-depth: 0 # required for git am --3way to work properly | |
submodules: true | |
persist-credentials: false | |
- uses: oxc-project/setup-node@fdbf0dfd334c4e6d56ceeb77d91c76339c2a0885 # v1.0.4 | |
- uses: ./.github/actions/setup | |
- name: Run go tests | |
run: go test ./internal/... | |
- name: Build | |
run: go build -o tsgolint.exe ./cmd/tsgolint | |
- name: Run e2e tests | |
run: | | |
pnpm install --frozen-lockfile | |
pnpm run test | |
working-directory: e2e | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
fetch-depth: 0 # required for git am --3way to work properly | |
submodules: true | |
persist-credentials: false | |
- uses: ./.github/actions/setup | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8 | |
with: | |
version: latest | |
typos: | |
name: Typos | |
runs-on: ubuntu-latest | |
steps: | |
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1 | |
- uses: crate-ci/typos@85f62a8a84f939ae994ab3763f01a0296d61a7ee # v1.36.2 | |
with: | |
files: . |