Skip to content

Commit c4f8fd8

Browse files
committed
upgrade go in cd
1 parent 522b070 commit c4f8fd8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/deploy-server.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,38 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'server/**'
9-
- 'internal/**'
10-
- 'go.mod'
11-
- 'go.sum'
12-
- '.github/workflows/deploy-server.yml'
8+
- "server/**"
9+
- "internal/**"
10+
- "go.mod"
11+
- "go.sum"
12+
- ".github/workflows/deploy-server.yml"
1313

1414
jobs:
1515
test:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19-
19+
2020
- name: Setup Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: '1.24'
23+
go-version: "1.25"
2424
cache: true
25-
25+
2626
- name: Run Go tests
2727
run: |
2828
cd server
2929
go test -v ./...
30-
30+
3131
deploy:
3232
needs: test
3333
runs-on: ubuntu-latest
3434
steps:
3535
- uses: actions/checkout@v4
36-
36+
3737
- name: Setup Fly CLI
3838
uses: superfly/flyctl-actions/setup-flyctl@master
39-
39+
4040
- name: Deploy to Fly.io
4141
env:
4242
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
@@ -45,4 +45,4 @@ jobs:
4545
--config server/fly.toml \
4646
--dockerfile server/Dockerfile \
4747
--build-arg BUILDKIT_INLINE_CACHE=1 \
48-
--build-arg GIT_COMMIT=${{ github.sha }}
48+
--build-arg GIT_COMMIT=${{ github.sha }}

0 commit comments

Comments
 (0)