mirror of
https://github.com/GeopJr/BLAHAJ.git
synced 2025-01-22 08:36:30 +01:00
c3b1707bdb
* 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>
18 lines
No EOL
471 B
YAML
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 |