build(deps): bump the actions-deps group with 2 updates #690
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
name: Lint | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
schedule: | |
- cron: '36 15 * * 5' | |
permissions: | |
contents: read | |
jobs: | |
eslint: | |
permissions: | |
security-events: write | |
checks: write | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Setup UI dependencies | |
uses: ./.github/actions/setup-ui-deps | |
- name: Run ESLint | |
working-directory: ./ui | |
run: >- | |
pnpm eslint . | |
--format @microsoft/eslint-formatter-sarif | |
--output-file eslint-results.sarif | |
continue-on-error: true | |
- name: Upload analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9 | |
with: | |
sarif_file: ./ui/eslint-results.sarif | |
wait-for-processing: true | |
golangci-lint: | |
name: GolangCI Lint | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
checks: write | |
steps: | |
- name: Checkout Actions Repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: '1.23.1' | |
cache: false | |
check-latest: true | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0 | |
with: | |
version: 'latest' | |
install-mode: 'binary' | |
args: '--out-format=colored-line-number,sarif:golangci-lint-results.sarif' | |
continue-on-error: true | |
- name: Upload analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9 | |
with: | |
sarif_file: ./golangci-lint-results.sarif | |
wait-for-processing: true | |
typos: | |
name: Spell Check with Typos | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: typos-action | |
uses: crate-ci/typos@8e6a4285bcbde632c5d79900a7779746e8b7ea3f # v1.24.6 | |
with: | |
config: typos.toml |