From c2e7080d2edd0997e853a943ece764114d9da5ca Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 22 Sep 2019 08:44:19 +0300 Subject: GH Actions updates --- .github/workflows/test.yml | 10 ++++------ README.md | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6392547..6417d10 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Run tests +name: Tests on: [push, pull_request] jobs: @@ -13,14 +13,12 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@master - with: - fetch-depth: 3 + uses: actions/checkout@v1 - name: Set up Node.js - uses: actions/setup-node@v1.1.0 + uses: actions/setup-node@v1 with: - version: ${{ matrix.node }} + node-version: ${{ matrix.node }} - run: node --version - run: npm --version diff --git a/README.md b/README.md index 85dc5d9..92e5816 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > A Grunt wrapper for [Bootlint](https://www.npmjs.org/package/bootlint), the HTML linter for [Bootstrap](https://getbootstrap.com) projects [![NPM version](https://img.shields.io/npm/v/grunt-bootlint.svg)](https://www.npmjs.com/package/grunt-bootlint) -![Build Status](https://action-badges.now.sh/twbs/grunt-bootlint) +![Build Status](https://github.com/twbs/grunt-bootlint/workflows/Tests/badge.svg) [![MIT License](https://img.shields.io/npm/l/grunt-bootlint.svg)](https://github.com/twbs/grunt-bootlint/blob/master/LICENSE) [![Dependency Status](https://img.shields.io/david/twbs/grunt-bootlint.svg)](https://david-dm.org/twbs/grunt-bootlint) [![devDependency Status](https://img.shields.io/david/dev/twbs/grunt-bootlint.svg)](https://david-dm.org/twbs/grunt-bootlint?type=dev) -- cgit v1.2.3