Skip to content

chore: prepare release 0.4.4 #308

chore: prepare release 0.4.4

chore: prepare release 0.4.4 #308

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@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
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@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
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 }}