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