chore(deps): update dependency cypress to ^13.3.1 #1545
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: 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-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.8" | |
- run: make build-frontend | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: frontend | |
path: internal/http/frontend/dist | |
if-no-files-found: error | |
retention-days: 1 | |
staticcheck: | |
name: StaticCheck | |
needs: frontend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Copy built frontend | |
uses: actions/download-artifact@v3 | |
with: | |
name: frontend | |
path: internal/http/frontend/dist | |
- run: go generate ./... | |
- name: check | |
uses: USA-RedDragon/golang-github-actions@v1.2.6 | |
with: | |
run: staticcheck | |
token: ${{ secrets.GITHUB_TOKEN }} | |
env: | |
CGO_ENABLED: "0" | |
golangci: | |
name: lint | |
needs: frontend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Copy built frontend | |
uses: actions/download-artifact@v3 | |
with: | |
name: frontend | |
path: internal/http/frontend/dist | |
- run: go generate ./... | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
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 |