Skip to content

Commit

Permalink
force CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Jan 26, 2024
1 parent a73dfb7 commit e78c532
Showing 1 changed file with 55 additions and 54 deletions.
109 changes: 55 additions & 54 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ on:
push:
branches:
- master
- 'feature/**'
- 'v**'
- "feature/**"
- "v**"
pull_request:
branches:
- master
- 'feature/**'
- 'v**'
- "feature/**"
- "v**"
- "languageserver/v"

jobs:
paths-filter:
Expand All @@ -21,45 +22,45 @@ jobs:
languageserver: ${{ steps.filter.outputs.languageserver }}
docgen: ${{ steps.filter.outputs.docgen }}
steps:
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
test:
- 'test/**'
lint:
- 'lint/**'
languageserver:
- 'languageserver/**'
docgen:
- 'docgen/**'
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
test:
- 'test/**'
lint:
- 'lint/**'
languageserver:
- 'languageserver/**'
docgen:
- 'docgen/**'
test-test:
needs: paths-filter
if: ${{ needs.paths-filter.outputs.test == 'true' }}
name: Test (Test Framework)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.19.x'
- uses: actions/setup-node@v2
with:
node-version: '15'
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: make test-test
- name: Check tidy
run: make check-tidy-test
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: "1.19.x"
- uses: actions/setup-node@v2
with:
node-version: "15"
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: make test-test
- name: Check tidy
run: make check-tidy-test

test-lint:
needs: paths-filter
Expand All @@ -72,7 +73,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.19.x'
go-version: "1.19.x"
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
Expand All @@ -97,10 +98,10 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.19.x'
go-version: "1.19.x"
- uses: actions/setup-node@v2
with:
node-version: '15'
node-version: "15"
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
Expand Down Expand Up @@ -128,7 +129,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.19.x'
go-version: "1.19.x"
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
Expand All @@ -144,17 +145,17 @@ jobs:
name: Lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.19.x'
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Check license headers
run: make check-headers
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: "1.19.x"
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Check license headers
run: make check-headers

0 comments on commit e78c532

Please sign in to comment.