Skip to content

Commit

Permalink
chore: Updates CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jmriebold committed Sep 12, 2024
1 parent 5eb73e5 commit e780825
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
uses: actions/checkout@v4

- name: Build
run: go build
if: steps.cache.outputs.cache-hit != 'true'
run: go build

build-docker:
name: Build Docker
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Test

on:
push:
Expand All @@ -20,13 +20,28 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: false
cache: true

- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest

test-go:
name: Test code

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true

- name: Test
run: go test

Expand Down

0 comments on commit e780825

Please sign in to comment.