Skip to content

Commit

Permalink
Bump ameba v1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija authored Dec 25, 2023
1 parent 22ab170 commit 3cd556f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM crystallang/crystal:1.9.0
FROM crystallang/crystal:1.10.0

LABEL maintainer="Vitalii Elenhaupt <velenhaupt@gmail.com>"
LABEL com.github.actions.name="Ameba checks"
Expand Down
27 changes: 14 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Add the following to your GitHub action workflow to use Crystal Ameba Linter:

``` yaml
- name: Crystal Ameba Linter
uses: crystal-ameba/github-action@v0.8.0
uses: crystal-ameba/github-action@v0.9.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -24,29 +24,30 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

container:
image: crystallang/crystal

steps:
- uses: actions/checkout@v1
- name: Crystal Ameba Linter
id: crystal-ameba
uses: crystal-ameba/github-action@v0.8.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec
- uses: actions/checkout@v4

- name: Crystal Ameba Linter
uses: crystal-ameba/github-action@v0.9.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
run: shards install

- name: Run tests
run: crystal spec
```
## Compatibility Versions
| Ameba version | GitHub Action version |
|---------------|-----------------------|
| ~> v1.6.0 | v0.9.0 |
| ~> v1.5.0 | v0.8.0 |
| ~> v1.4.0 | v0.7.1 |
| v1.3.1 | v0.6.0 |
Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ameba-github_action
version: 0.8.0
version: 0.9.0

authors:
- Vitalii Elenhaupt <velenhaupt@gmail.com>
Expand All @@ -13,6 +13,6 @@ crystal: ">= 1.9.0"
dependencies:
ameba:
github: crystal-ameba/ameba
version: ~> 1.5.0
version: ~> 1.6.0

license: MIT

0 comments on commit 3cd556f

Please sign in to comment.