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: go-version: "^1.15.5"
python-version: 3.7
- name: Install dependencies && show version - uses: actions/checkout@v2.3.4
run: |
python -m pip install -U pip - run: go get github.com/npxbr/verify-links/cmd/vl
pip install git+git://github.com/ellisonleao/vl.git@py3 - run: vl README.md
vl --version
- name: Validate links
run: |
vl README.md --debug -w gamesounds.xyz,vungle.com,renderhjs.net -a 503,405,401,403