Skip to content

chore(deps): update crate-ci/typos action to v1.49.1 #3585

chore(deps): update crate-ci/typos action to v1.49.1

chore(deps): update crate-ci/typos action to v1.49.1 #3585

Workflow file for this run

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-go:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # required for git am --3way to work properly
submodules: true
persist-credentials: false
- uses: oxc-project/setup-node@d59b270414aa7d0eed947eed4eb5b0b8a675f01d # v1.4.0
- uses: ./.github/actions/setup
- name: Run go tests
run: go test ./internal/...
test-e2e:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # required for git am --3way to work properly
submodules: true
persist-credentials: false
- uses: oxc-project/setup-node@d59b270414aa7d0eed947eed4eb5b0b8a675f01d # v1.4.0
- uses: ./.github/actions/setup
- name: Build
run: just build
- name: Run e2e tests
run: |
pnpm --ignore-workspace install --frozen-lockfile
pnpm --ignore-workspace run test
working-directory: e2e
test-windows:
if: ${{ github.ref_name == 'main' }}
runs-on: windows-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # required for git am --3way to work properly
submodules: true
persist-credentials: false
- uses: oxc-project/setup-node@d59b270414aa7d0eed947eed4eb5b0b8a675f01d # v1.4.0
- uses: ./.github/actions/setup
- name: Build
run: go build -o tsgolint.exe ./cmd/tsgolint
- name: Run e2e tests
run: |
pnpm --ignore-workspace install --frozen-lockfile
pnpm --ignore-workspace run test
working-directory: e2e
lint:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
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@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: latest
typos:
name: Typos
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
- uses: crate-ci/typos@a8168dc2984a9e2352f183ffe788f0f23a300389 # v1.49.1
with:
files: .