BLAHAJ/.github/workflows/ci.yml
Will Fantom c3b1707bdb
feat: Docker Support 🐳 (#11)
* feat: added dockerfile and relvant docs

* feat: added ci to publish docker images

* chore: bumped all checkout actions to v4

* chore: removed unnecessary deps from build stage

* chore: changed build targets to amd64 and arm64 only

* chore: moved docker publish logic to push trigger

Switched the docker image build/publish pipeline event to a push event
on either a `v*` tag or to the main branch.

* fix: README

* feat: publish => docker

* feat: dont run on main push

lets only publish releases instead

---------

Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
2023-10-15 20:35:03 +03:00

18 lines
No EOL
471 B
YAML

name: Specs & Lint
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v4
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Install shards
run: shards install
- name: Run tests
run: make test_all
- name: Build
run: make debug
- name: Check formatting
run: crystal tool format; git diff --exit-code