Skip to content

feat: CircleCI -> GH Actions #5

feat: CircleCI -> GH Actions

feat: CircleCI -> GH Actions #5

Workflow file for this run

name: Compile and check
on: push
defaults:
run:
shell: bash
jobs:
# checks:
# name: Code checks
# uses: coingaming/.github/.github/workflows/code-checks.yml@main
# secrets: inherit
# with:
# mix-env: dev
# cache_paths: "test/protobuf_test_app/lib/generated"
# elixir-version: "1.17.2"
# otp-version: "27.0"
#
build_test:
name: Build for tests
uses: coingaming/.github/.github/workflows/build.yml@main
secrets: inherit
with:
mix-env: test
cache_paths: "elixir/test/proto"
elixir-version: "1.17.2"
otp-version: "27.0"
elixir-code-path: "elixir"
# dialyzer:
# name: Dialyzer
# needs: build_test
# uses: coingaming/.github/.github/workflows/dialyzer.yml@main
# secrets: inherit
# with:
# mix-env: test
# cache_paths: "test/protobuf_test_app/lib/generated"
# elixir-version: "1.17.2"
# otp-version: "27.0"
#
tests:
name: Tests
needs: build

Check failure on line 44 in .github/workflows/code-push.yml

View workflow run for this annotation

GitHub Actions / Compile and check

Invalid workflow file

The workflow is not valid. .github/workflows/code-push.yml (Line: 44, Col: 12): Job 'tests' depends on unknown job 'build'. .github/workflows/code-push.yml (Line: 57, Col: 13): Job 'release' depends on job 'tests' which creates a cycle in the dependency graph.
uses: coingaming/.github/.github/workflows/tests.yml@main
secrets: inherit
with:
mix-env: test
cache_paths: "elixir/test/proto"
elixir-version: "1.17.2"
otp-version: "27.0"
elixir-code-path: "elixir"
release:
name: Release to HEX with SemanticRelease
#needs: [checks, dialyzer, tests]
needs: [tests]
uses: coingaming/.github/.github/workflows/release-hex.yml@main
secrets: inherit
with:
mix-env: test
cache_paths: "elixir/test/proto"
elixir-version: "1.17.2"
otp-version: "27.0"
elixir-code-path: "elixir"