1
0
mirror of https://github.com/namibia/free-programming-books.git synced 2024-11-22 03:25:09 +00:00

try github actions (#3679)

fixes #3583
This commit is contained in:
borgified 2020-08-23 10:02:31 -07:00 committed by GitHub
parent 9c34dfb8c3
commit e59e9e0717
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 11 deletions

16
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: check_urls
on: [push]
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: trilom/file-changes-action@v1.2.4
id: file_changes
with:
output: ''
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4.1
- run: gem install awesome_bot
- run: for i in ${{ steps.file_changes.outputs.files_modified }}; do echo; echo "processing $i"; awesome_bot $i --allow-redirect --allow-dupe --skip-save-results; done

View File

@ -12,13 +12,3 @@ jobs:
- npm install -g free-programming-books-lint
script:
- fpb-lint .
-
language: ruby
if: commit_message =~ /check_urls=/
rvm: 2.4.1
before_script:
- gem install awesome_bot
script:
- INPUT=$(echo $TRAVIS_COMMIT_MESSAGE | awk -F= '{print $2}')
- for i in $INPUT; do echo "processing $i"; awesome_bot $i --allow-redirect --allow-dupe --skip-save-results; done

View File

@ -306,7 +306,7 @@
#### Algorithms & Data Structures
* [A Field Guide To Genetic Programming](http://dces.essex.ac.uk/staff/rpoli/gp-field-guide/toc.html) - Riccardo Poli et al.
* [A Field Guide To Genetic Programming](https://b-ok.cc/book/861921/18f698) - Riccardo Poli et al. (PDF)
* [Algorithmic Graph Theory](http://code.google.com/p/graphbook/)
* [Algorithms](https://en.wikibooks.org/wiki/Algorithms) - Wikibooks
* [Algorithms, 4th Edition](http://algs4.cs.princeton.edu/home/) - Robert Sedgewick and Kevin Wayne