File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171 if : matrix.php-versions == '8.4'
7272 with :
7373 version : latest
74+ mac-tests :
75+ runs-on : macos-latest
76+ env :
77+ GOEXPERIMENT : cgocheck2
78+ steps :
79+ - uses : actions/checkout@v4
80+ - uses : actions/setup-go@v5
81+ with :
82+ go-version : " 1.24"
83+ cache-dependency-path : |
84+ go.sum
85+ caddy/go.sum
86+ - uses : shivammathur/setup-php@v2
87+ with :
88+ php-version : 8.4
89+ ini-file : development
90+ coverage : none
91+ tools : none
92+ env :
93+ phpts : ts
94+ debug : true
95+ - name : Set Set CGO flags
96+ run : echo "CGO_CFLAGS=$(php-config --includes)" >> "${GITHUB_ENV}"
97+ - name : Build
98+ run : go build -tags nowatcher
99+ - name : Build testcli binary
100+ working-directory : internal/testcli/
101+ run : go build -tags nowatcher
102+ - name : Run library tests
103+ run : go test -tags nowatcher -race -v ./...
104+ - name : Run Caddy module tests
105+ working-directory : caddy/
106+ run : go test -tags nowatcher,nobadger,nomysql,nopgx -race -v ./...
You can’t perform that action at this time.
0 commit comments