Skip to content

chore(deps): update dependency eslint to v9 #4033

chore(deps): update dependency eslint to v9

chore(deps): update dependency eslint to v9 #4033

name: Go Static Checks
on: pull_request
permissions:
contents: read
pull-requests: read
concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true
jobs:
frontend:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: make build-frontend
- uses: actions/upload-artifact@v4
with:
name: frontend
path: internal/http/frontend/dist
if-no-files-found: error
retention-days: 1
golangci:
name: lint
needs: frontend
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Copy built frontend
uses: actions/download-artifact@v4
with:
name: frontend
path: internal/http/frontend/dist
- run: go generate ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
skip-cache: true
# Show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true