Skip to content

Commit 4e2be92

Browse files
committed
chore: use main as the main branch
1 parent e03848b commit 4e2be92

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master ]
16+
branches: [ main ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master ]
19+
branches: [ main ]
2020
schedule:
2121
- cron: '16 17 * * 5'
2222

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: Go
44

55
on:
66
push:
7-
branches: [ "master" ]
7+
branches: [ "main" ]
88
pull_request:
9-
branches: [ "master" ]
9+
branches: [ "main" ]
1010

1111
permissions:
1212
contents: read
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: 1.24
24+
go-version: 1.25
2525

2626
- name: Build
2727
run: go build -v ./...
@@ -32,4 +32,4 @@ jobs:
3232
- name: golangci-lint
3333
uses: golangci/golangci-lint-action@v8
3434
with:
35-
version: v2.1.6
35+
version: v2.4.0

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- Review existing issues and provide feedback or react to them.
77

88
- With pull requests:
9-
- Open your pull request against `master`
9+
- Open your pull request against `main`
1010
- Your pull request should have no more than two commits, if not you should squash them.
1111
- It should pass all tests in the available continuous integrations systems such as TravisCI.
1212
- You should add/modify tests to cover your proposed code changes.

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,7 @@ func (r *helloWorldResolver) Hello(ctx context.Context) (string, error) {
9898
```
9999

100100
### Separate resolvers for different operations
101-
> **NOTE**: This feature is not in the stable release yet. In order to use it you need to run `go get github.com/graph-gophers/graphql-go@master` and in your `go.mod` file you will have something like:
102-
> ```
103-
> v1.5.1-0.20230216224648-5aa631d05992
104-
> ```
105-
> It is expected to be released in `v1.6.0` soon.
101+
This feature was released in `v1.6.0`.
106102

107103
The GraphQL specification allows for fields with the same name defined in different query types. For example, the schema below is a valid schema definition:
108104
```graphql

0 commit comments

Comments
 (0)