From b48526b1704e6d7ffb44678bb8ba8c162f6dc4da Mon Sep 17 00:00:00 2001 From: Babi Soraggi <108243062+bpsoraggi@users.noreply.github.com> Date: Tue, 24 Mar 2026 13:43:53 -0300 Subject: [PATCH] feat(ci): add first GitHub workflow --- .github/workflows/action.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/action.yaml diff --git a/.github/workflows/action.yaml b/.github/workflows/action.yaml new file mode 100644 index 0000000..7730f01 --- /dev/null +++ b/.github/workflows/action.yaml @@ -0,0 +1,33 @@ +name: 📦️ Plugin Service CI + +on: + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + main: + name: Main Process + runs-on: ubuntu-latest + env: + GOLANGCI_LINT_VERSION: 'v2.3.0' + + steps: + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.2 + - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + with: + go-version-file: 'go.mod' + + - name: Check and get dependencies + run: | + go mod download + go mod tidy + git diff --exit-code go.mod + git diff --exit-code go.sum + + - name: golangci-lint + uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 #v9.2.0 + with: + version: ${{ env.GOLANGCI_LINT_VERSION }} \ No newline at end of file