diff --git a/Dockerfile b/Dockerfile index a9832f4..49aad0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM crystallang/crystal:1.9.0 +FROM crystallang/crystal:1.10.0 LABEL maintainer="Vitalii Elenhaupt " LABEL com.github.actions.name="Ameba checks" diff --git a/README.md b/README.md index e643396..00e7a34 100644 --- a/README.md +++ b/README.md @@ -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/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 | diff --git a/shard.yml b/shard.yml index 9f00191..fb78f76 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: ameba-github_action -version: 0.8.0 +version: 0.9.0 authors: - Vitalii Elenhaupt @@ -13,6 +13,6 @@ crystal: ">= 1.9.0" dependencies: ameba: github: crystal-ameba/ameba - version: ~> 1.5.0 + version: ~> 1.6.0 license: MIT