feat(usage-view): download usage data in csv format #546
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: [main] } | |
pull_request: { branches: [main] } | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint the code | |
runs-on: ubuntu-latest | |
container: golang:1.21 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Mark source directory as safe. | |
run: git config --global --add safe.directory $GITHUB_WORKSPACE | |
- name: Check formatting using gofmt | |
run: gofmt -s -l -d . | |
- name: Check for suspicious constructs using "go vet" | |
run: go vet ./... | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest | |
args: --verbose |