mirror of
https://github.com/michaelachrisco/Electronic-Interchange-Github-Resources
synced 2024-10-31 00:03:19 -07:00
Merge pull request #86 from michaelachrisco/85-github-actions
Add github actions to workflow
This commit is contained in:
commit
c1168ead9f
2 changed files with 24 additions and 9 deletions
|
@ -1,9 +0,0 @@
|
||||||
version: 2
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
docker:
|
|
||||||
- image: circleci/ruby:latest
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: gem install awesome_bot
|
|
||||||
- run: awesome_bot --allow-redirect README.md
|
|
24
.github/workflows/blank.yml
vendored
Normal file
24
.github/workflows/blank.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: Ruby
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
|
||||||
|
with:
|
||||||
|
ruby-version: '3.1'
|
||||||
|
- name: Install dependencies
|
||||||
|
run: gem install awesome_bot
|
||||||
|
- name: Verify all links are valid
|
||||||
|
run: awesome_bot --allow-redirect README.md
|
||||||
|
|
Loading…
Reference in a new issue