Skip to content

Commit

Permalink
tests: use github workflow for nbsp char check
Browse files Browse the repository at this point in the history
Let's use a github workflow instead of travis for this.

With this commit we can get rid of Travis.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
  • Loading branch information
guits committed Nov 23, 2020
1 parent 195d88f commit 94c37b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/check-nbsp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: check-nbsp
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: if [[ -n $(grep --exclude-dir=.git -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit 94c37b9

Please sign in to comment.