Skip to content

Bump github.com/tdewolff/minify/v2 from 2.12.7 to 2.12.8 #44

Bump github.com/tdewolff/minify/v2 from 2.12.7 to 2.12.8

Bump github.com/tdewolff/minify/v2 from 2.12.7 to 2.12.8 #44

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@v4
with:
go-version: 1.20.1
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
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@v4
with:
go-version: 1.20.1
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
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@v4
with:
go-version: 1.20.1
- name: Cache
uses: actions/cache@v3
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"