Merge pull request #661 from nginx-proxy/dependabot/docker/golang-1.23.6 #686
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths-ignore: | |
| - "LICENSE" | |
| - "**.md" | |
| - "examples/*" | |
| - "templates/*" | |
| jobs: | |
| unit: | |
| name: Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Install dependencies | |
| run: make get-deps | |
| - name: Build docker-gen | |
| run: make docker-gen | |
| - name: Check code formatting | |
| run: make check-gofmt | |
| - name: Run tests | |
| run: go test -race -v ./internal/... |