Skip to content

Commit 31f887a

Browse files
committed
Update GitHub workflows/actions
1 parent 43747e9 commit 31f887a

3 files changed

Lines changed: 14 additions & 12 deletions

File tree

.github/workflows/development.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
with:
1010
fetch-depth: 20
1111
- name: Run golangci-lint
12-
uses: golangci/golangci-lint-action@v3
12+
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1
1313
with:
1414
version: latest
1515
args: "-v --new-from-rev HEAD~5"

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020
-
2121
name: Set up QEMU
22-
uses: docker/setup-qemu-action@v3
22+
uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0
2323
with:
2424
platforms: amd64,arm64,arm
2525
-
2626
name: Set up Docker Buildx
27-
uses: docker/setup-buildx-action@v3
27+
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
2828
-
2929
name: Docker meta
3030
id: meta
31-
uses: docker/metadata-action@v5
31+
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6.1.0
3232
with:
3333
images: 42wim/matterircd,ghcr.io/42wim/matterircd
3434
flavor: |
@@ -42,14 +42,14 @@ jobs:
4242
type=semver,pattern={{major}}.{{minor}}
4343
-
4444
name: Login to DockerHub
45-
uses: docker/login-action@v3
45+
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
4646
if: github.event_name != 'pull_request'
4747
with:
4848
username: ${{ secrets.DOCKERHUB_USERNAME }}
4949
password: ${{ secrets.DOCKERHUB_TOKEN }}
5050
-
5151
name: Log into registry ghcr.io
52-
uses: docker/login-action@v3
52+
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
5353
if: github.event_name != 'pull_request'
5454
with:
5555
registry: ghcr.io
@@ -58,7 +58,7 @@ jobs:
5858
-
5959
name: Build and push
6060
id: docker_build
61-
uses: docker/build-push-action@v5
61+
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
6262
with:
6363
context: .
6464
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6

.golangci.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ run:
3535
# output configuration options
3636
output:
3737
# colored-line-number|line-number|json|tab|checkstyle, default is "colored-line-number"
38-
formats: colored-line-number
38+
formats:
39+
text:
40+
colors: true
3941

40-
# print lines of code with issue, default is true
41-
print-issued-lines: true
42+
# print lines of code with issue, default is true
43+
print-issued-lines: true
4244

43-
# print linter name in the end of issue text, default is true
44-
print-linter-name: true
45+
# print linter name in the end of issue text, default is true
46+
print-linter-name: true
4547

4648

4749
# all available settings of specific linters, we can set an option for

0 commit comments

Comments
 (0)