diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index d02b64500..9abf9654a 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -52,11 +52,42 @@ jobs: - name: Build run: make build + test: + name: Test + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-go@v3 + with: + go-version: ^1.18 + cache: true + id: go + - name: Test run: make test + lint: + name: Lint + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-go@v3 + with: + go-version: ^1.18 + cache: true + id: go + + - name: Lint + uses: golangci/golangci-lint-action@v3 + with: + version: latest + build-ui: - name: Build UI + name: UI runs-on: ubuntu-latest steps: @@ -95,21 +126,3 @@ jobs: - name: Porcelain run: | test -z "$(git status --porcelain)" || (git status; git diff; false) - - lint: - name: Lint - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-go@v3 - with: - go-version: ^1.18 - cache: true - id: go - - - name: Lint - uses: golangci/golangci-lint-action@v3 - with: - version: latest