Support file server #2345
  
    
      This file contains hidden or 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: Code Analysis | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "**/*.go" | |
| - "go.mod" | |
| - "go.sum" | |
| - ".github/workflows/code.analysis.yml" | |
| env: | |
| GO_VERSION: "1.24" | |
| jobs: | |
| analysis: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v3 | |
| - name: Revive Action | |
| uses: morphy2k/[email protected] | |
| - name: Check formatting | |
| run: test -z $(gofmt -l .) || (gofmt -l . && exit 1) | |
| - name: misspell | |
| uses: sobolevn/[email protected] |