Skip to content

Comprobado que ya se ha solucionado closes #263 #76

Comprobado que ya se ha solucionado closes #263

Comprobado que ya se ha solucionado closes #263 #76

Workflow file for this run

name: "Comprueba README"
on:
push:
paths:
- 'README.md'
- 'words.dic'
pull_request:
paths:
- 'README.md'
- 'words.dic'
jobs:
OrtografiaReadme:
runs-on: ubuntu-latest
steps:
- name: Prerrequisites
run: |
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y libtext-hunspell-perl autopoint
- uses: actions/checkout@v3
- name: Usa install-with-cpm
uses: perl-actions/install-with-cpm@stable
with:
install: |
Test::Text
TAP::Harness
sudo: true
- name: Comprueba la ortografía
run: |
curl https://raw.githubusercontent.com/JJ/Test-Text/master/data/Spanish.aff -o Spanish.aff
curl https://raw.githubusercontent.com/SublimeText/Dictionaries/master/Spanish.dic -o Spanish.dic
echo "use Test::Text; just_check( '.','.', 'Spanish' ); " > just_check.t
rm TODO.md # No nos interesan
perl -MTAP::Harness -e 'use utf8; my $harness = TAP::Harness->new( { verbosity => 0} ); die "FAIL" if $harness->runtests( "just_check.t" )->failed;'