Skip to content

Commit dd13b1d

Browse files
authored
Merge pull request #1 from KunalKumar-1/workflows
ci: fix the working directry
2 parents ed2609d + 40b7ea2 commit dd13b1d

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/go-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
go-version: '1.22'
2323

2424
- name: Install dependencies
25-
working-directory: ./server
25+
working-directory: ./
2626
run: go mod download
2727

2828
- name: Run gofmt
29-
working-directory: ./server
29+
working-directory: ./
3030
run: |
3131
fmt_output=$(gofmt -l .)
3232
if [ -n "$fmt_output" ]; then
@@ -36,13 +36,13 @@ jobs:
3636
fi
3737
3838
- name: Run go vet
39-
working-directory: ./server
39+
working-directory: ./
4040
run: go vet ./...
4141

4242
- name: Build API
43-
working-directory: ./server
43+
working-directory: ./
4444
run: go build -tags sqlite ./cmd/api
4545

4646
- name: Build Migrations
47-
working-directory: ./server
47+
working-directory: ./
4848
run: go build -tags sqlite ./cmd/migrate/migrations

go.mod

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ module github.com/kunalkumar-1/Evently
22

33
go 1.24.5
44

5-
require github.com/golang-migrate/migrate/v4 v4.18.3
5+
require (
6+
github.com/golang-migrate/migrate/v4 v4.18.3
7+
golang.org/x/crypto v0.40.0
8+
)
69

710
require (
811
github.com/bytedance/sonic v1.11.6 // indirect
@@ -26,7 +29,6 @@ require (
2629
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
2730
github.com/ugorji/go/codec v1.2.12 // indirect
2831
golang.org/x/arch v0.8.0 // indirect
29-
golang.org/x/crypto v0.40.0 // indirect
3032
golang.org/x/net v0.42.0 // indirect
3133
golang.org/x/sys v0.34.0 // indirect
3234
golang.org/x/text v0.27.0 // indirect

0 commit comments

Comments
 (0)