Skip to content

Commit 093c728

Browse files
authored
Merge pull request #46 from ComplianceAsCode/add_build
Add GitHub Actions for Pull Requests
2 parents 692da9d + dc84b12 commit 093c728

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/gating.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Gate
3+
on:
4+
pull_request:
5+
branches: [ 'master', ]
6+
7+
jobs:
8+
build-blog:
9+
name: Build Blog
10+
runs-on: ubuntu-latest
11+
container:
12+
image: fedora:latest
13+
steps:
14+
- name: Install Dependencies
15+
run: dnf install -y ruby rubygem-bundler ruby-devel libffi libffi-devel @"Development Tools" gcc-c++
16+
- name: Checkout
17+
uses: actions/checkout@v3
18+
- name: Install Ruby Dependencies
19+
run: bundle install -j2
20+
- name: Build
21+
run: bundle exec jekyll build
22+

0 commit comments

Comments
 (0)