File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 with :
2323 go-version : ${{ env.GO_VERSION }}
2424
25+ - name : Install Linux dependencies
26+ run : |
27+ sudo apt-get update
28+ sudo apt-get install -y libayatana-appindicator3-dev
29+
2530 - name : Run golangci-lint
2631 uses : golangci/golangci-lint-action@v6
2732 with :
@@ -47,14 +52,20 @@ jobs:
4752 - name : Get dependencies
4853 run : go mod download
4954
55+ - name : Install Linux dependencies
56+ if : matrix.os == 'ubuntu-latest'
57+ run : |
58+ sudo apt-get update
59+ sudo apt-get install -y libayatana-appindicator3-dev
60+
5061 - name : Run tests
51- run : go test -race -coverprofile=coverage.out -covermode=atomic ./...
62+ run : go test -race -coverprofile=coverage.txt -covermode=atomic ./...
5263
5364 - name : Upload coverage to Codecov
5465 if : matrix.os == 'ubuntu-latest' && matrix.go-version == '1.24'
5566 uses : codecov/codecov-action@v4
5667 with :
57- file : ./coverage.out
68+ file : ./coverage.txt
5869 flags : unittests
5970 name : codecov-umbrella
6071
@@ -195,6 +206,8 @@ jobs:
195206 security :
196207 name : Security Scan
197208 runs-on : ubuntu-latest
209+ permissions :
210+ security-events : write
198211 steps :
199212 - name : Checkout code
200213 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments