chore(deps): update dependency vite to v6 #4579
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: 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-24.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-24.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 |