Skip to content

Commit 6f049f9

Browse files
authored
ci: minor cleanup (#1619)
* ci: minor cleanup * add .golangci.yaml
1 parent 340b1fd commit 6f049f9

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/dependabot.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ updates:
1717
interval: weekly
1818
commit-message:
1919
prefix: chore(caddy)
20-
# These packages must be in sync with versions
21-
# used by github.com/caddyserver/caddy/v2
22-
ignore:
23-
- dependency-name: github.com/google/cel-go
24-
- dependency-name: github.com/quic-go/*
2520
groups:
2621
go-modules:
2722
patterns:

.github/workflows/lint.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ jobs:
2323
- name: Lint Code Base
2424
uses: super-linter/super-linter/slim@v7.4.0
2525
env:
26-
VALIDATE_ALL_CODEBASE: true
27-
DEFAULT_BRANCH: main
2826
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2927
LINTER_RULES_PATH: /
3028
MARKDOWN_CONFIG_FILE: .markdown-lint.yaml

.github/workflows/tests.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ permissions:
1515
contents: read
1616
env:
1717
GOTOOLCHAIN: local
18+
GOEXPERIMENT: cgocheck2
1819
jobs:
1920
tests-linux:
2021
name: Tests (Linux, PHP ${{ matrix.php-versions }})
@@ -24,7 +25,6 @@ jobs:
2425
matrix:
2526
php-versions: ["8.2", "8.3", "8.4"]
2627
env:
27-
GOEXPERIMENT: cgocheck2
2828
GOMAXPROCS: 10
2929
LIBRARY_PATH: ${{ github.workspace }}/watcher/target/lib
3030
steps:
@@ -46,7 +46,7 @@ jobs:
4646
debug: true
4747
- name: Install e-dant/watcher
4848
uses: ./.github/actions/watcher
49-
- name: Set Set CGO flags
49+
- name: Set CGO flags
5050
run: echo "CGO_CFLAGS=-I${PWD}/watcher/target/include $(php-config --includes)" >> "${GITHUB_ENV}"
5151
- name: Build
5252
run: go build
@@ -78,7 +78,6 @@ jobs:
7878
name: Tests (macOS, PHP 8.4)
7979
runs-on: macos-latest
8080
env:
81-
GOEXPERIMENT: cgocheck2
8281
HOMEBREW_NO_AUTO_UPDATE: 1
8382
steps:
8483
- uses: actions/checkout@v4

.golangci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
version: "2"
3+
run:
4+
build-tags:
5+
- nobadger
6+
- nomysql
7+
- nopgx

0 commit comments

Comments
 (0)