Skip to content

Update actions/setup-go digest to 924ae3a #2686

Update actions/setup-go digest to 924ae3a

Update actions/setup-go digest to 924ae3a #2686

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- "*.x"
pull_request:
branches:
- main
- "*.x"
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: lts/*
- run: npm ci
- name: Run Eslint
run: npm run lint
license-header-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: "^1.17.0"
- name: Install addlicense
run: go install github.com/google/addlicense@v1.2.0
- name: Run addlicense
run: addlicense -f ./addlicense -check $(find . -name "*.ts" -type f -print0 | xargs -0)
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Use Node.js lts/*
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: lts/*
- run: npm ci
- name: Run Prettier
run: npm run prettier
knip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Use Node.js lts/*
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: lts/*
- run: npm ci
- name: Run knip
run: npm run knip