Skip to content

build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 in /caddy #403

build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 in /caddy

build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 in /caddy #403

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
GO111MODULE: 'on'
jobs:
golangci:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache-dependency-path: |
go.sum
caddy/go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache-dependency-path: |
go.sum
caddy/go.sum
- name: Install test dependencies
run: composer install --no-progress --no-suggest --ansi
working-directory: test-push
- name: Test
run: go test -covermode atomic -coverprofile=cover.out github.com/dunglas/vulcain
- name: Test Caddy module
run: |
go test -race -covermode atomic -coverprofile=cover.out -coverpkg=github.com/dunglas/vulcain
sed '1d' cover.out >> ../cover.out
working-directory: ./caddy
- name: Upload coverage results
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}