mirror of
https://github.com/ellisonleao/magictools.git
synced 2025-10-15 10:19:04 +00:00
changing ci to use golang version of vl
This commit is contained in:
31
.github/workflows/validatelinks.yml
vendored
31
.github/workflows/validatelinks.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user