Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions .github/workflows/buildandtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,31 @@ name: Build and Test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches:
- "*"

jobs:
check-version:
runs-on: ubuntu-latest
steps:
- uses: lindenlab/check-tag-action@v1
with:
mode: check

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
args: --config .standard-lint.yml ./...

build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Set up Go
uses: actions/setup-go@v5
Expand All @@ -22,3 +38,11 @@ jobs:

- name: Test
run: make cover

tag-release:
needs: [check-version, lint, build-and-test]
runs-on: ubuntu-latest
steps:
- uses: lindenlab/check-tag-action@v1
with:
mode: tag
15 changes: 0 additions & 15 deletions .github/workflows/check-version.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/golangci-lint.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/tag-on-merge.yml

This file was deleted.

155 changes: 0 additions & 155 deletions .github/workflows/tag.sh

This file was deleted.

1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
PKGS := $(shell go list ./... | grep -v -E mocks)
SRCS := $(shell find . go.mod -name '*.go') go.mod
export GO111MODULE=on

VERSION := $(shell cat Version)

Expand Down
Loading