-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>" | ||
LABEL com.github.actions.name="Ameba checks" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
``` | ||
|
@@ -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/[email protected] | ||
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/[email protected] | ||
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 | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]> | ||
|
@@ -13,6 +13,6 @@ crystal: ">= 1.9.0" | |
dependencies: | ||
ameba: | ||
github: crystal-ameba/ameba | ||
version: ~> 1.5.0 | ||
version: ~> 1.6.0 | ||
|
||
license: MIT |