Skip to content

Commit

Permalink
Merge pull request #17 from josacar/update_github_workflows
Browse files Browse the repository at this point in the history
Update github actions workflows
  • Loading branch information
josacar authored Oct 26, 2023
2 parents c43ea1b + 55e293a commit ebd53df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/crystal.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Crystal CI

on: [push, pull_request]
# push:
# branches: [ $default-branch ]
# pull_request:
# branches: [ $default-branch ]

jobs:
build:
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -45,4 +45,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v2

0 comments on commit ebd53df

Please sign in to comment.