Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alebabai committed Jan 24, 2024
1 parent a69a933 commit da9127e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: 1.21
- run: go version
- uses: actions/cache@v3
with:
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50
version: v1.55.2
- name: Build
run: make build
- name: Test
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.16 as builder
FROM golang:1.21-alpine3.19 as builder

WORKDIR /go/src/github.com/linden-honey/linden-honey-api-go

Expand All @@ -9,7 +9,7 @@ COPY cmd ./cmd
COPY pkg ./pkg
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go install -v -ldflags="-w -s" ./cmd/...

FROM alpine:3.16
FROM alpine:3.19

COPY --from=builder /go/bin/server /bin/server
COPY api/ ./api
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ services:
db:
image: bitnami/mongodb:4.2.2
environment:
MONGODB_USERNAME: linden-honey
MONGODB_PASSWORD: linden-honey
MONGODB_DATABASE: linden-honey
MONGODB_USERNAME: linden_honey
MONGODB_PASSWORD: linden_honey
MONGODB_DATABASE: linden_honey
restart: on-failure
ports:
- 27017:27017
Expand All @@ -19,7 +19,7 @@ services:
depends_on:
- db
environment:
DB_URL: mongodb://linden-honey:linden-honey@db:27017/linden-honey
DB_URL: mongodb://linden_honey:linden_honey@db:27017/linden_honey
ports:
- 8080:80

Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module github.com/linden-honey/linden-honey-api-go

go 1.19

// +heroku goVersion go1.19
go 1.21

require github.com/linden-honey/linden-honey-sdk-go v0.1.0
1 change: 0 additions & 1 deletion pkg/application/config/config_validation_test.go
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
package config

1 change: 0 additions & 1 deletion pkg/application/domain/song.go
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
package domain

1 change: 0 additions & 1 deletion pkg/application/persistence/mongodb/song.go
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
package mongodb

0 comments on commit da9127e

Please sign in to comment.