Skip to content

Commit

Permalink
Update to node20.*, go1.22, actions v4
Browse files Browse the repository at this point in the history
  • Loading branch information
lil5 committed Feb 29, 2024
1 parent 90ed2d3 commit e332eef
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-acceptance-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.22"
check-latest: true
cache: true
cache-dependency-path: server/go.sum
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-acceptance-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.5
node-version: 20
cache: npm
cache-dependency-path: app/package-lock.json
- name: Install Dependencies app
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-acceptance-fe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.5
node-version: 20
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install Dependencies Frontend
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-production-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5
node-version: 20
cache: npm
cache-dependency-path: app/package-lock.json
- name: Install Dependencies App
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.22"
check-latest: true
cache: true
cache-dependency-path: server/go.sum
Expand Down Expand Up @@ -42,12 +42,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5
# https://github.com/nodejs/node/issues/49497
node-version: 20
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Install Dependencies Frontend
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.22"
check-latest: true
cache: true
cache-dependency-path: server/go.sum
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5
node-version: 20
cache: npm
cache-dependency-path: app/package-lock.json
- name: Install Dependencies App
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-fe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5
node-version: 20
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install Dependencies Frontend
Expand Down
2 changes: 1 addition & 1 deletion docker/dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
stdin_open: true
tty: true
server:
image: golang:1.20-alpine
image: golang:1.22-alpine
ports:
- 8084:8084
volumes:
Expand Down
2 changes: 1 addition & 1 deletion server/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/the-clothing-loop/website/server

go 1.20
go 1.22

require (
github.com/0xch4z/selectr v0.2.0
Expand Down

0 comments on commit e332eef

Please sign in to comment.