mirror of
https://github.com/godotengine/awesome-godot.git
synced 2026-09-03 23:36:03 +03:00
Switch continuous integration from Travis CI to GitHub Actions (#146)
Travis CI no longer allows unlimited usage in the free tier.
This commit is contained in:
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
30
.github/workflows/ci.yml
vendored
Normal file
30
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Continuous integration
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
# Every day at midnight (UTC).
|
||||
# URLs can decay over time. Setting up a schedule makes it possible to be warned
|
||||
# about dead links as soon as possible.
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
env:
|
||||
RUBY_VERSION: "2.7.2"
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: Check URL validity
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Ruby
|
||||
uses: actions/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ env.RUBY_VERSION }}
|
||||
|
||||
- name: Run awesome_bot
|
||||
run: |
|
||||
gem install awesome_bot
|
||||
awesome_bot --files "README.md" --white-list "https://awesome.re,https://godotengine.org,https://www.youtube.com"
|
||||
15
.travis.yml
15
.travis.yml
@@ -1,15 +0,0 @@
|
||||
os: linux
|
||||
dist: bionic
|
||||
language: ruby
|
||||
|
||||
rvm:
|
||||
- "2.7.1"
|
||||
|
||||
install:
|
||||
- pyenv global 3.8.1
|
||||
- pip3 install --user pre-commit
|
||||
- gem install awesome_bot
|
||||
|
||||
script:
|
||||
- '"$HOME/.local/bin/pre-commit" run --all-files'
|
||||
- awesome_bot --files "README.md" --white-list "https://awesome.re,https://godotengine.org,https://www.youtube.com"
|
||||
Reference in New Issue
Block a user