Skip to content

Commit

Permalink
updates (#86)
Browse files Browse the repository at this point in the history
* updates

* format
  • Loading branch information
michaelst authored Jun 23, 2024
1 parent 9554d37 commit e07cef7
Show file tree
Hide file tree
Showing 15 changed files with 29,906 additions and 7,777 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# `index.js` is the code that will run.
# For our project, we generate this file through a build process from other source files.
# We need to make sure the checked-in `index.js` actually matches what we expect it to be.
name: Check dist/
name: Check dist

on:
push:
Expand All @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set Node.js 16.x
uses: actions/setup-node@v3
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/check-files.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
name: Check Example Files
on: pull_request

permissions:
checks: write
contents: read
pull-requests: read
statuses: write

jobs:
excoveralls:
name: excoveralls.json
name: elixir
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./
with:
Expand All @@ -19,7 +25,7 @@ jobs:
name: go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
format: go
Expand All @@ -31,7 +37,7 @@ jobs:
name: lcov
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
format: lcov
Expand All @@ -43,7 +49,7 @@ jobs:
name: ruby
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
format: ruby
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: npm install

Expand All @@ -19,7 +19,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: npm install

Expand All @@ -28,7 +28,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: npm install

Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.20.1
nodejs 20.15.0
20 changes: 10 additions & 10 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Coverbot | Code Coverage
description: Quickly determine code coverage.

branding:
branding:
icon: check-circle
color: blue

inputs:
format:
format:
description: file format (currently only `elixir` and `go` are supported)
required: true
file:
file:
description: location of json file
required: true
coverbot_api_key:
coverbot_api_key:
description: Coverbot Token
required: true
github_token:
github_token:
description: GitHub Token
required: true
subdirectory:
subdirectory:
description: If your app is in a subdirectory, specify it here
required: false
outputs:
covered:
covered:
description: Number of lines covered
relevant:
relevant:
description: Number of lines considered relevant
percentage:
percentage:
description: The coverage percentage
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit e07cef7

Please sign in to comment.