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:
|
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
|
|
||||||
|
Reference in New Issue
Block a user