Skip to content

Commit

Permalink
Merge pull request #330 from gofiber/expand-bench-tests
Browse files Browse the repository at this point in the history
Fix concurrency issues when loading templates
  • Loading branch information
ReneWerner87 authored Feb 18, 2024
2 parents 00513ef + e5747a5 commit 9ef37f6
Show file tree
Hide file tree
Showing 34 changed files with 1,249 additions and 369 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ on:
paths:
- "**.go"
- "**/go.mod"
- ".github/workflows/benchmark.yml"
pull_request:
branches:
- "*"
paths:
- "**.go"
- "**/go.mod"
- ".github/workflows/benchmark.yml"

permissions:
deployments: write
Expand All @@ -31,6 +33,7 @@ jobs:
with:
# NOTE: Keep this in sync with the version from go.mod
go-version: "1.20.x"
cache: false

- name: Run Benchmarks
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ on:

permissions:
contents: read
pull-requests: read
checks: write

jobs:
golangci-lint:
Expand All @@ -33,8 +35,9 @@ jobs:
with:
# NOTE: Keep this in sync with the version from go.mod
go-version: '1.20.x'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
# NOTE: Keep this in sync with the version from .golangci.yml
version: 'v1.52.2'
version: 'v1.56.2'
2 changes: 1 addition & 1 deletion .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
fetch-depth: 0
- name: Changed Files
uses: tj-actions/changed-files@v41
uses: tj-actions/changed-files@v42
id: changed-files
with:
files_ignore: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-ace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 1.19.x
- 1.20.x
- 1.21.x
- 1.22.x
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-amber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 1.19.x
- 1.20.x
- 1.21.x
- 1.22.x
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- 1.19.x
- 1.20.x
- 1.21.x
- 1.22.x
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-handlebars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 1.19.x
- 1.20.x
- 1.21.x
- 1.22.x
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 1.19.x
- 1.20.x
- 1.21.x
- 1.22.x
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-jet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 1.19.x
- 1.20.x
- 1.21.x
- 1.22.x
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-mustache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 1.19.x
- 1.20.x
- 1.21.x
- 1.22.x
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-pug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 1.19.x
- 1.20.x
- 1.21.x
- 1.22.x
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 1.19.x
- 1.20.x
- 1.21.x
- 1.22.x
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
Loading

0 comments on commit 9ef37f6

Please sign in to comment.