diff --git a/.github/workflows/crystal.yml b/.github/workflows/crystal.yml index bada84a..d0026f5 100644 --- a/.github/workflows/crystal.yml +++ b/.github/workflows/crystal.yml @@ -1,10 +1,6 @@ name: Crystal CI on: [push, pull_request] -# push: -# branches: [ $default-branch ] -# pull_request: -# branches: [ $default-branch ] jobs: build: @@ -17,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Crystal Ameba Linter - uses: crystal-ameba/github-action@v0.2.12 + uses: crystal-ameba/github-action@v0.8.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install dependencies diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 39878b8..1ed25b4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -33,7 +33,7 @@ jobs: run: crystal docs --project-version="$(shards version)" - name: Upload artifact # Automatically uploads an artifact from the './_site' directory by default - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: path: 'docs' deploy: @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2