Skip to content

build(deps): bump actions/download-artifact from 6 to 7 (#11) #64

build(deps): bump actions/download-artifact from 6 to 7 (#11)

build(deps): bump actions/download-artifact from 6 to 7 (#11) #64

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CRYSTAL_VERSION: 1.18.2
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ env.CRYSTAL_VERSION }}
- run: crystal tool format --check
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ env.CRYSTAL_VERSION }}
- run: shards install
- run: ./bin/ameba
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ env.CRYSTAL_VERSION }}
- run: shards install
- run: crystal spec -Dspec
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ env.CRYSTAL_VERSION }}
- run: shards install
- run: shards build --release --no-debug