Skip to content

Commit

Permalink
Simplify GitHub Action setup
Browse files Browse the repository at this point in the history
Remove unnecessary steps from GitHub Action setup.
  • Loading branch information
HeavyWombat committed May 14, 2024
1 parent 4edc3a9 commit 0fbe515
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,6 @@ jobs:
with:
go-version: 1.22.x

- name: Setup Go build cache
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build source code
run: go build ./...

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,8 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: go build ./...

- name: Test
run: |
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo
make test
run: make test

- name: Upload Code Coverage Profile
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 0fbe515

Please sign in to comment.