From 3e5ebaa86d900c5fd4c241be0ec8633f071ed143 Mon Sep 17 00:00:00 2001 From: Vecto <157636760+VectoDE@users.noreply.github.com> Date: Sat, 1 Feb 2025 23:14:02 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d3c8172..0b65421 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,20 +1,10 @@ - - name: Go CI - # You may pin to the exact commit or the version. - # uses: ghacts/go@f4993de229e57d20fc296c70a1570a4dfca88db1 +- name: Go CI uses: ghacts/go@v1.0.0 with: - # The path to the project - project-path: # optional, default is - # The version of Go to use - go-version: # optional, default is stable - # The version of golangci-lint to use - golang-ci-lint-version: # optional, default is latest - # Additional arguments for golangci-lint - golang-ci-lint-args: # optional, default is --timeout=10m - # Check whether to skip lint step - skip-lint: # optional - # Check whether to skip build step - skip-build: # optional - # Check whether to skip test step - skip-test: # optional - + project-path: ./src/ + go-version: '1.23.5' + golang-ci-lint-version: '1.51.0' + golang-ci-lint-args: '--timeout=5m --disable-all --enable=gofmt --enable=golint' + skip-lint: false + skip-build: false + skip-test: false