add names to steps

This commit is contained in:
Simon Aronsson 2021-01-10 12:42:54 +01:00
parent 668e7a1511
commit ea53cdbe7c
No known key found for this signature in database
GPG key ID: 8DA57A5FD341605B

View file

@ -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