Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija committed Nov 25, 2024
1 parent 23465e9 commit af8f079
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ GitHub Action that lints Crystal shards with [Ameba](https://github.com/crystal-

Add the following to your GitHub action workflow to use Crystal Ameba Linter:

``` yaml
```yaml
- name: Crystal Ameba Linter
uses: crystal-ameba/github-action@v0.11.0
uses: crystal-ameba/github-action@v0.12.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
### Example Workflow
``` yaml
```yaml
name: Crystal CI

on: [push]
Expand All @@ -39,7 +39,7 @@ jobs:
run: crystal spec

- name: Run Ameba Linter
uses: crystal-ameba/github-action@v0.10.0
uses: crystal-ameba/github-action@v0.12.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -48,6 +48,7 @@ jobs:
| Ameba version | GitHub Action version |
|---------------|-----------------------|
| ~> v1.6.4 | v0.12.0 |
| ~> v1.6.3 | v0.11.0 |
| ~> v1.6.2 | v0.10.0 |
| ~> v1.6.1 | v0.9.0 |
Expand Down

0 comments on commit af8f079

Please sign in to comment.