Skip to content

Commit

Permalink
update build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjanetzko committed Jun 17, 2024
1 parent 214f8e1 commit 8383b72
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VARIANT="1.21-bullseye"
ARG VARIANT="1.22-bookworm"
FROM mcr.microsoft.com/devcontainers/go:1-${VARIANT}

USER vscode
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "1.21"
"VARIANT": "1.22"
}
},
"customizations": {
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: Build
run: cd backend && go build -v ./...
Expand All @@ -28,17 +28,20 @@ jobs:
needs: [ build ]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v6
with:
version: latest
distribution: goreleaser
version: '~> v2'
workdir: backend
args: release --clean
env:
Expand Down
2 changes: 1 addition & 1 deletion analyze/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/robertjanetzko/LegendsBrowser2/analyze

go 1.18
go 1.22

require github.com/iancoleman/strcase v0.2.0

Expand Down
2 changes: 1 addition & 1 deletion backend/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/robertjanetzko/LegendsBrowser2/backend

go 1.18
go 1.22

require (
github.com/cheggaaa/pb/v3 v3.0.8
Expand Down

0 comments on commit 8383b72

Please sign in to comment.