Skip to content

Bump github.com/tdewolff/minify/v2 from 2.20.26 to 2.20.32 (#52) #163

Bump github.com/tdewolff/minify/v2 from 2.20.26 to 2.20.32 (#52)

Bump github.com/tdewolff/minify/v2 from 2.20.26 to 2.20.32 (#52) #163

Workflow file for this run

name: Continuous Integration
on:
push:
tags-ignore:
- 'v*.*.*'
- 'snapshot-*'
branches:
- '**'
pull_request:
jobs:
lint:
name: "Lint"
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: |
go mod download
- name: Install golangci-lint
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
golangci-lint --version
- name: Lint
run: |
golangci-lint run --color=always -c .golangci.yml ./...
test:
name: "Test"
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: |
go mod download
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Test
run: |
go run ./build test
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
goveralls "-coverprofile=profile.cov" "-service=github" "-parallel" "-flagname=${{ matrix.os }}-caretakerd"
# notifies that all test jobs are finished.
finish:
name: "Finish"
needs: test
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
check-latest: true
- name: Cache
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage (finish)
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
goveralls "-parallel-finish" "-service=github"