From 41707dfd2edae1e26b6218956c8e0c6c5279a7ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ellison=20Lea=CC=83o?= Date: Sun, 7 Mar 2021 00:17:28 -0300 Subject: [PATCH] changing ci to use golang version of vl --- .github/workflows/validatelinks.yml | 31 ++++++++++++----------------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/.github/workflows/validatelinks.yml b/.github/workflows/validatelinks.yml index e160399..72e31d6 100644 --- a/.github/workflows/validatelinks.yml +++ b/.github/workflows/validatelinks.yml @@ -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