We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e25dcf commit 8233308Copy full SHA for 8233308
.github/workflows/golangci-lint.yml
@@ -0,0 +1,23 @@
1
+name: golangci-lint
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ golangci:
13
+ name: lint
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-go@v5
18
+ with:
19
+ go-version: stable
20
+ - name: golangci-lint
21
+ uses: golangci/golangci-lint-action@v7
22
23
+ version: v2.0
internal/types/types.go
@@ -45,7 +45,7 @@ type HttpServer struct {
45
}
46
47
type Configuration struct {
48
- Hostname string `yaml:"hostname"`
+ Hostname string `yaml:"hostname"`
49
StateDir string `yaml:"state_dir"`
50
StateFilepath string `yaml:"state_filepath"`
51
FlakeSubdirectory string `yaml:"flake_subdirectory"`
0 commit comments