Skip to content

Commit

Permalink
update GO version in github workflows, docker-compose file and pr-che…
Browse files Browse the repository at this point in the history
…ck script
  • Loading branch information
petracihalova committed Apr 24, 2024
1 parent 170e92e commit 3bcc4b1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: "1.18"
- uses: Jerome1337/[email protected]

govet:
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: "1.18"
- run: |
go vet ./...
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: "1.18"
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
Expand All @@ -49,6 +49,6 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: "1.18"
- run: |
go test ./...
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
sources-api-db-setup:
image: golang:1.17
image: golang:1.18
entrypoint: "bash"
command:
- -c
Expand Down
4 changes: 2 additions & 2 deletions pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export DATABASE_PASSWORD=toor
export DATABASE_NAME=sources_api_test_go

echo "Running tests...here we go"

export GOROOT="/opt/go/1.17.8"
g
export GOROOT="/opt/go/1.18.1"
export PATH="${GOROOT}/bin:${PATH}"
make alltest

Expand Down

0 comments on commit 3bcc4b1

Please sign in to comment.