Closed dre2004 closed 4 years ago
Can you paste the first line of the file ./internal/route/user/profile.go
?
It happens with all go files, I think that was just one of the examples.
I have forked the gogs repository (https://github.com/dre2004/gogs) and trying to use shellcheck for the shell scripts in that repository.
// Copyright 2015 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package user
import (
"strings"
"github.com/unknwon/paginater"
"gogs.io/gogs/internal/conf"
"gogs.io/gogs/internal/context"
"gogs.io/gogs/internal/db"
"gogs.io/gogs/internal/route/repo"
"gogs.io/gogs/internal/tool"
)
Try running master now
That fixed it ! keep up the good work!
I've had some issues running this action, it's picking up all sorts of files (javascript, go, etc).
I know I can set an exclude to exclude all the directories that don't contain shell scripts in my project but that seems a little counter intuitive.
Having a look at the script that runs in the container, I think the problem appears to be here.