Skip to content

#297 los peligros del ChatGPT #81

#297 los peligros del ChatGPT

#297 los peligros del ChatGPT #81

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@v4
- name: Usa install-with-cpm
uses: perl-actions/install-with-cpm@v1
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;'