Fix Origin UI RateGraph data loss/issues #1325
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: golangci-lint | |
on: | |
push: | |
tags: | |
- '*' | |
branches: | |
- master | |
- main | |
pull_request: | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# We embed the contents of web_ui/frontend/out/* into the resulting binaries | |
# That particular directory should contain outputs generated by the | |
# npm build. However, to keep the runtime of the linter as fast as possible, | |
# instead of running `npm` here, we simply create a dummy empty file. | |
# | |
# If no dummy file exists, then the linters will flag the situation as | |
# an error. | |
- name: Generate placeholder files | |
id: generate-placeholder | |
run: | | |
go generate ./... | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest |