Skip to content

build(deps): bump actions/upload-artifact from 6 to 7 (#12) #68

build(deps): bump actions/upload-artifact from 6 to 7 (#12)

build(deps): bump actions/upload-artifact from 6 to 7 (#12) #68

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