changing ci to use golang version of vl

This commit is contained in:
Ellison Leão
2021-03-07 00:17:28 -03:00
parent 97033b048d
commit 41707dfd2e

View File

@@ -1,23 +1,18 @@
name: links-validation ---
on: [push] name: CI
on: [pull_request]
jobs: jobs:
build: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/setup-go@v2.1.3
- name: Set up Python 3.7 id: go
uses: actions/setup-python@v1
with: with:
python-version: 3.7 go-version: "^1.15.5"
- name: Install dependencies && show version
run: | - uses: actions/checkout@v2.3.4
python -m pip install -U pip
pip install git+git://github.com/ellisonleao/vl.git@py3 - run: go get github.com/npxbr/verify-links/cmd/vl
vl --version - run: vl README.md
- name: Validate links
run: |
vl README.md --debug -w gamesounds.xyz,vungle.com,renderhjs.net -a 503,405,401,403