mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
add names to steps
This commit is contained in:
parent
668e7a1511
commit
ea53cdbe7c
1 changed files with 6 additions and 1 deletions
7
.github/workflows/pull-request.yml
vendored
7
.github/workflows/pull-request.yml
vendored
|
@ -8,6 +8,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -18,11 +19,14 @@ jobs:
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.15.x
|
go-version: 1.15.x
|
||||||
- name: Lint
|
- name: Install linter
|
||||||
run: |
|
run: |
|
||||||
go get -u golang.org/x/lint/golint
|
go get -u golang.org/x/lint/golint
|
||||||
|
- name: Lint files
|
||||||
|
run: |
|
||||||
golint -set_exit_status ./...
|
golint -set_exit_status ./...
|
||||||
test:
|
test:
|
||||||
|
name: Test
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version:
|
go-version:
|
||||||
|
@ -45,6 +49,7 @@ jobs:
|
||||||
go test ./... -coverprofile coverage.out
|
go test ./... -coverprofile coverage.out
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue