Skip to content

Commit 82e6f43

Browse files
committed
github: lock actions by commit
1 parent 1d87a62 commit 82e6f43

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/cfn-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
cfn-lint:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1616
- run: pip install cfn-lint
1717
- run: make cfn-lint

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,30 @@ jobs:
77
name: lint
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/setup-go@v3
10+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34
1111
with:
1212
go-version: 1.19
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1414
- name: golangci-lint
15-
uses: golangci/golangci-lint-action@v3
15+
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84
1616
with:
1717
version: latest
18-
working-directory: ./updater
18+
working-directory: updater
1919
build:
2020
name: build
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/setup-go@v3
23+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34
2424
with:
2525
go-version: 1.19
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2727
- run: make
2828
test:
2929
name: unit tests
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/setup-go@v3
32+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34
3333
with:
3434
go-version: 1.19
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
3636
- run: make test

.golangci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ linters:
1313

1414
run:
1515
timeout: 3m
16-
skip-dirs:
16+
17+
issues:
18+
exclude-dirs:
1719
- stacks

0 commit comments

Comments
 (0)