Skip to content

Commit

Permalink
ci improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonah Dissen committed Sep 3, 2023
1 parent eb2cc6f commit 051654e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
day: "sunday"
20 changes: 14 additions & 6 deletions .github/workflows/merge-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: build-lint-test

on:
pull_request:
Expand All @@ -13,13 +13,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: "go.mod"

- name: Install dependencies
run: go get .

- name: Vet
run: go vet ./...

- name: Set up Go
uses: actions/setup-go@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
go-version: 1.20.2
version: latest

- name: Build
run: go build -v ./...
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ builds:
- darwin
goarch:
- amd64
- arm64

- id: windows-amd64
binary: kor
Expand Down

0 comments on commit 051654e

Please sign in to comment.