Skip to content

DBP-90: 實作真正的排行榜 #4

DBP-90: 實作真正的排行榜

DBP-90: 實作真正的排行榜 #4

Workflow file for this run

name: Lint and Check Formatting
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint and Check Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: true
- name: Install dependencies and tools
run: |
go mod download
go install mvdan.cc/gofumpt@latest
- name: Lint with golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: latest
- name: Run gofumpt
run: gofumpt -d .