Skip to content

Commit

Permalink
Merge pull request #4447 from nickmango/feature/go-version
Browse files Browse the repository at this point in the history
Feature/Go Version
  • Loading branch information
nickmango authored Oct 1, 2024
2 parents f7da95e + 4f644ec commit a0e95cc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.23.1'
go-version: '1.20.1'
- name: Go Version
run: go version
- name: Setup Node
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.23.1'
go-version: '1.20.1'
- name: Go Version
run: go version
- name: Setup Node
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.23.1'
go-version: '1.20.1'
check-latest: true
- name: Go Version
run: go version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yarn-scan-backend-go-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
pull_request:
branches:
- main
- dev

jobs:
yarn-scan-backend-go-pr:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yarn-scan-backend-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
pull_request:
branches:
- main
- dev

jobs:
yarn-scan-backend-pr:
Expand Down
4 changes: 2 additions & 2 deletions cla-backend-go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ifeq "$(shell uname -s)" "Linux"
endif

LINT_TOOL=$(shell go env GOPATH)/bin/golangci-lint
LINT_VERSION=v1.61.0
LINT_VERSION=v1.51.2
SWAGGER_DIR=$(ROOT_DIR)/swagger
SWAGGER_BIN_DIR=/usr/local/bin
SWAGGER_TOOL_VERSION=v0.30.3
Expand Down Expand Up @@ -69,7 +69,7 @@ setup-swagger:

setup_dev: setup-dev
setup-dev:
pushd /tmp && echo "==> Installing goimport..." && go install golang.org/x/tools/cmd/goimports@latest && echo "==> Installation coverage tools..." && go install golang.org/x/tools/cmd/cover@latest && popd
pushd /tmp && echo "==> Installing goimport..." && go install golang.org/x/tools/cmd/goimports@v0.24.0 && echo "==> Installation coverage tools..." && go install golang.org/x/tools/cmd/cover@latest && popd

@echo "==> Installing linter..."
@# Latest releases: https://github.com/golangci/golangci-lint/releases
Expand Down

0 comments on commit a0e95cc

Please sign in to comment.