Skip to content

Commit e60da84

Browse files
committed
chore: update branch references
1 parent 1dd93d0 commit e60da84

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ __tests__/runner/*
66
node_modules/
77
lib/
88

9-
# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
9+
# Rest pulled from https://github.com/github/gitignore/blob/HEAD/Node.gitignore
1010
# Logs
1111
logs
1212
*.log

Diff for: README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ on:
115115
pull_request:
116116
push:
117117
branches:
118-
- "main"
119-
- "master"
118+
- main
119+
- master
120120
121121
env:
122122
GO_VERSION: stable
@@ -166,8 +166,8 @@ on:
166166
pull_request:
167167
push:
168168
branches:
169-
- "main"
170-
- "master"
169+
- main
170+
- master
171171
172172
jobs:
173173
golangci-lint:
@@ -498,7 +498,7 @@ permissions:
498498
499499
The action was implemented with performance in mind:
500500
501-
1. We cache data from golangci-lint analysis between builds by using [@actions/cache](https://github.com/actions/toolkit/tree/master/packages/cache).
501+
1. We cache data from golangci-lint analysis between builds by using [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache).
502502
2. We don't use Docker because image pulling is slow.
503503
3. We do as much as we can in parallel, e.g. we download cache, and golangci-lint binary in parallel.
504504
@@ -514,17 +514,17 @@ We use JavaScript-based action.
514514
We don't use Docker-based action because:
515515

516516
1. Docker pulling is slow currently
517-
2. it's easier to use caching from [@actions/cache](https://github.com/actions/toolkit/tree/master/packages/cache)
517+
2. it's easier to use caching from [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache)
518518

519519
We support different platforms, such as `ubuntu`, `macos`, and `windows` with `x32` and `x64` archs.
520520

521521
Inside our action, we perform 3 steps:
522522

523523
1. Setup environment running in parallel:
524524
* restore [cache](https://github.com/actions/cache) of previous analyses
525-
* fetch [action config](https://github.com/golangci/golangci-lint/blob/master/assets/github-action-config.json) and find the latest `golangci-lint` patch version for needed version
525+
* fetch [action config](https://github.com/golangci/golangci-lint/blob/HEAD/assets/github-action-config.json) and find the latest `golangci-lint` patch version for needed version
526526
(users of this action can specify only minor version of `golangci-lint`).
527-
After that install [golangci-lint](https://github.com/golangci/golangci-lint) using [@actions/tool-cache](https://github.com/actions/toolkit/tree/master/packages/tool-cache)
527+
After that install [golangci-lint](https://github.com/golangci/golangci-lint) using [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache)
528528
2. Run `golangci-lint` with specified by user `args`
529529
3. Save cache for later builds
530530

0 commit comments

Comments
 (0)