File tree 3 files changed +47
-30
lines changed 3 files changed +47
-30
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ jobs:
48
48
file : coverage.out
49
49
flags : unittests
50
50
51
+ - name : Benchmark test
52
+ run : make bench
53
+
51
54
# - name: Upload coverage
52
55
# uses: actions/upload-artifact@v4
53
56
# with:
54
57
# name: coverage
55
58
# path: coverage.out
56
59
57
- - name : Benchmark test
58
- run : make bench
59
-
60
60
# - name: Upload coverage to Codacy
61
61
# # run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.out --force-language go -t ${{ secrets.CODACY_PROJECT_TOKEN }}
62
62
# uses: codacy/codacy-coverage-reporter-action@v1
@@ -67,19 +67,33 @@ jobs:
67
67
# - name: Run Codacy Analysis CLI
68
68
# uses: codacy/codacy-analysis-cli-action@master
69
69
70
- # static-check:
71
- # strategy:
72
- # fail-fast: false
73
- # matrix:
74
- # os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
75
- # go: ["1.19"]
76
- # runs-on: ${{ matrix.os }}
77
- # steps:
78
- # - uses: actions/checkout@v3
79
- # with:
80
- # fetch-depth: 1
81
- # - uses: dominikh/staticcheck-action@v1.2.0
82
- # with:
83
- # version: latest
84
- # install-go: false
85
- # cache-key: ${{ matrix.go }}
70
+ static-check :
71
+ strategy :
72
+ fail-fast : false
73
+ matrix :
74
+ os : ["windows-latest", "ubuntu-latest", "macOS-latest"]
75
+ go : ["1.19", "1.23"]
76
+ runs-on : ${{ matrix.os }}
77
+ steps :
78
+ - uses : actions/checkout@v3
79
+ with :
80
+ fetch-depth : 1
81
+ - uses : dominikh/staticcheck-action@v1.2.0
82
+ with :
83
+ version : latest
84
+ install-go : false
85
+ cache-key : ${{ matrix.go }}
86
+
87
+ golangci :
88
+ runs-on : ubuntu-latest
89
+ permissions :
90
+ contents : read
91
+ steps :
92
+ - uses : actions/checkout@v4
93
+ - uses : actions/setup-go@v5
94
+ with :
95
+ go-version : stable
96
+ - name : golangci-lint
97
+ uses : golangci/golangci-lint-action@v7
98
+ with :
99
+ version : v2.0
Original file line number Diff line number Diff line change @@ -48,16 +48,16 @@ jobs:
48
48
- name : Perform CodeQL Analysis
49
49
uses : github/codeql-action/analyze@v2
50
50
51
- sonarqube :
52
- runs-on : ubuntu-latest
53
- steps :
54
- - uses : actions/checkout@v4
55
- with :
56
- fetch-depth : 0
57
- - name : SonarQube Scan
58
- uses : SonarSource/sonarqube-scan-action@v5
59
- env :
60
- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
51
+ # sonarqube:
52
+ # runs-on: ubuntu-latest
53
+ # steps:
54
+ # - uses: actions/checkout@v4
55
+ # with:
56
+ # fetch-depth: 0
57
+ # - name: SonarQube Scan
58
+ # uses: SonarSource/sonarqube-scan-action@v5
59
+ # env:
60
+ # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
61
61
62
62
codespell :
63
63
runs-on : ubuntu-latest
68
68
uses : actions/checkout@v4
69
69
- name : Codespell
70
70
uses : codespell-project/actions-codespell@v2
71
+ with :
72
+ check_filenames : true
73
+ skip : " ./.git,./docs,*_test.go"
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ func ConsoleSelect() {
118
118
}
119
119
120
120
func ConsoleList () {
121
- title := "My Fave Things"
121
+ title := "My Favourite Things"
122
122
items := []list.Item {
123
123
{Label : "Raspberry Pi’s" , Desc : "I have ’em all over my house" },
124
124
{Label : "Nutella" , Desc : "It's good on toast" },
You can’t perform that action at this time.
0 commit comments