From ad61d79654ead54b17aa4c1baf5b16938b48d4b6 Mon Sep 17 00:00:00 2001 From: AlexSSD7 Date: Sat, 2 Sep 2023 12:15:59 +0100 Subject: [PATCH] CI --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci.yml 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