Skip to content

Commit

Permalink
Move use only one workflow ci, add CI badge in README
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksam07 committed Feb 15, 2024
1 parent 0ad5b90 commit 3e4dd3a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 26 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/test.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: CI

on:
pull_request:
Expand All @@ -8,6 +8,21 @@ on:
branches: ["master", "main"]

jobs:
linter:
runs-on: ubuntu-latest
name: linter/ruby
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true

- name: Run linter
run: bundle exec rake code_analysis
test:
runs-on: ubuntu-latest
container: ${{ matrix.ruby }}
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/linter.yml

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# AppleAuth

[![Gem Version](https://badge.fury.io/rb/apple_auth.svg)](https://badge.fury.io/rb/apple_auth)
![CI](https://github.com/rootstrap/apple_auth/actions/workflows/ci.yml/badge.svg?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/78453501221a76e3806e/maintainability)](https://codeclimate.com/github/rootstrap/apple_sign_in/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/78453501221a76e3806e/test_coverage)](https://codeclimate.com/github/rootstrap/apple_sign_in/test_coverage)

Expand Down

0 comments on commit 3e4dd3a

Please sign in to comment.