Skip to content

Commit

Permalink
Add GitHub CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
baron1405 committed Apr 15, 2024
1 parent 1264de8 commit b029cb0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run clean build javadoc
run: ./gradlew clean build javadoc
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# ![C Thing Software](https://www.cthing.com/branding/CThingSoftware-57x60.png "C Thing Software") checkstyle-checks

[![CI](https://github.com/cthing/checkstyle-checks/actions/workflows/ci.yml/badge.svg)](https://github.com/cthing/checkstyle-checks/actions/workflows/ci.yml)

Library of custom checkers for Checkstyle.

### Usage
Expand Down

0 comments on commit b029cb0

Please sign in to comment.