Skip to content

Commit 2e98d87

Browse files
authored
Merge pull request #47 from kpetremann/simplify_linter
ci: simplify linter configuration
2 parents 027621d + b5a8a88 commit 2e98d87

File tree

8 files changed

+21
-427
lines changed

8 files changed

+21
-427
lines changed

Diff for: .github/workflows/ci.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
name: "Lint and test"
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Set up Go
17-
uses: actions/setup-go@v3
17+
uses: actions/setup-go@v5
1818
with:
19-
go-version: "1.23"
19+
go-version-file: 'go.mod'
2020

2121
- name: Run golangci-lint
2222
uses: golangci/golangci-lint-action@v3
@@ -30,14 +30,13 @@ jobs:
3030
commitlint:
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
with:
3535
fetch-depth: 0
36-
- name: Install required dependencies
37-
run: |
38-
sudo apt install -y git curl
39-
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
40-
sudo DEBIAN_FRONTEND=noninteractive apt install -y nodejs
36+
37+
- uses: actions/setup-node@v4
38+
with:
39+
node_version: 'latest'
4140

4241
- name: Install commitlint
4342
run: |

0 commit comments

Comments
 (0)