diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ef66d96 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: CI + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: "1.21" + + - name: Download dependencies + run: go mod download + + - name: Build + run: go build -v ./... + + - name: Test + run: make test + + - name: Lint + run: | + make lint-deps + make lint + + - name: Security scan + run: | + make security-check-deps + make security-check \ No newline at end of file