Skip to content

Commit c1b0d94

Browse files
committed
Merge remote-tracking branch 'origin/main'
# Conflicts: # go.mod # go.sum
2 parents 6d79f35 + de34c4d commit c1b0d94

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "gomod"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/go.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8-
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
913
jobs:
1014

1115
build:
@@ -25,3 +29,6 @@ jobs:
2529

2630
- name: Test
2731
run: go test -v ./...
32+
33+
- run: "go test -coverprofile=coverage.out -covermode=count ./..."
34+
- uses: seriousben/go-patch-cover-action@v1

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Примеры по Go
33

44
[![Go](https://github.com/BasePractice/pGo/actions/workflows/go.yml/badge.svg)](https://github.com/BasePractice/pGo/actions/workflows/go.yml)
5+
[![CodeQL](https://github.com/BasePractice/pGo/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/BasePractice/pGo/actions/workflows/github-code-scanning/codeql)
56

67
```shell
78
go build -o .bin/server cmd/server/main.go

0 commit comments

Comments
 (0)