Skip to content

Commit

Permalink
ci: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dharsanb committed Dec 14, 2024
1 parent 66eba3e commit 193bdbb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,18 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 50
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 'stable'
go-version-file: go.mod

- name: Run lint
run: make lint

- name: Run golangci-lint
uses: golangci/golangci-lint-action@490e2450418f2d55f0e912d548cbae3b1fbc8e83
uses: golangci/golangci-lint-action@v6
with:
version: 'latest'

Expand All @@ -30,14 +28,18 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 50

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 'stable'
go-version-file: go.mod


- name: Go mod vendor
run: go mod vendor

- name: Run tests
run: |
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ dist
# Editors and IDEs
.vscode
.idea

# Vendor directory
vendor
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/naggie/dstask

go 1.21
go 1.23

toolchain go1.22.8
toolchain go1.23.4

require (
github.com/BurntSushi/toml v1.4.0
Expand Down

0 comments on commit 193bdbb

Please sign in to comment.