Skip to content

Commit

Permalink
Simplify build
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-at-luther committed Aug 12, 2024
1 parent 299ac2a commit f9e4731
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/lutherauth-sdk-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,29 @@ on:
branches:
- main
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.59
build:
name: build
runs-on: ubuntu-latest
container:
image: luthersystems/build-go:v0.0.88
needs: golangci
steps:
- uses: actions/checkout@v4
- name: Run CI tests
run: make citest
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Run tests
run: go test -v ./...
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ print-go-env:
go-test:
go test -v -count 1 ./...

.PHONY: static-checks
static-checks:
./scripts/static-checks.sh

.PHONY: citest
citest: print-go-env static-checks go-test
citest: print-go-env go-test
@
9 changes: 0 additions & 9 deletions scripts/static-checks.sh

This file was deleted.

0 comments on commit f9e4731

Please sign in to comment.