Skip to content

Commit eb8e592

Browse files
committed
Update github action
1 parent ada7d2d commit eb8e592

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
pull_request:
99

10+
permissions:
11+
contents: read
12+
id-token: write
13+
1014
jobs:
1115
build:
1216
runs-on: ubuntu-latest
@@ -26,9 +30,10 @@ jobs:
2630
bundler-cache: true
2731
- name: Lint with rubocop
2832
run: bundle exec rubocop
29-
- name: Test & Publish code coverage
30-
uses: paambaati/codeclimate-action@v3.0.0
31-
env:
32-
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
33+
- name: Test
34+
run: bundle exec rspec
35+
- name: Publish code coverage
36+
uses: qltysh/qlty-action/coverage@v2
3337
with:
34-
coverageCommand: bundle exec rspec
38+
oidc: true
39+
files: coverage/.resultset.json

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![Gem Version](https://badge.fury.io/rb/prest.svg)](https://badge.fury.io/rb/prest)
44
[![Ruby](https://github.com/gogrow-dev/prest/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/gogrow-dev/prest/actions/workflows/main.yml)
5-
[![Maintainability](https://api.codeclimate.com/v1/badges/f81b2e00be4d8eaa5e81/maintainability)](https://codeclimate.com/github/gogrow-dev/prest/maintainability)
6-
[![Test Coverage](https://api.codeclimate.com/v1/badges/f81b2e00be4d8eaa5e81/test_coverage)](https://codeclimate.com/github/gogrow-dev/prest/test_coverage)
5+
[![Maintainability](https://qlty.sh/gh/gogrow-dev/projects/prest/maintainability.svg)](https://qlty.sh/gh/gogrow-dev/projects/prest)
6+
[![Code Coverage](https://qlty.sh/gh/gogrow-dev/projects/prest/coverage.svg)](https://qlty.sh/gh/gogrow-dev/projects/prest)
77

88
Programmatically communicate with any REST API.
99

0 commit comments

Comments
 (0)