Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziosalmi authored Jan 8, 2025
1 parent cd7f257 commit 95d7d33
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Go

on:
push:
branches: [ "main" ]
branches: [ "test" ]
pull_request:
branches: [ "main" ]
branches: [ "test" ]

jobs:

Expand All @@ -22,7 +22,14 @@ jobs:
go-version: '1.23.4'

- name: Required tools
run: go get github.com/oschwald/maxminddb-golang
run: |
go get github.com/caddyserver/caddy/v2
go get github.com/caddyserver/caddy/v2/caddyconfig/caddyfile
go get github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile
go get github.com/caddyserver/caddy/v2/modules/caddyhttp
go get github.com/oschwald/maxminddb-golang
go get github.com/fsnotify/fsnotify
go mod tidy
- name: Build
run: go build -v ./...
Expand Down

0 comments on commit 95d7d33

Please sign in to comment.