Skip to content

feat: CircleCI -> GH Actions #4

feat: CircleCI -> GH Actions

feat: CircleCI -> GH Actions #4

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
uses: coingaming/.github/.github/workflows/tests.yml@main

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

View workflow run for this annotation

GitHub Actions / .github/workflows/code-push.yml

Invalid workflow file

error parsing called workflow ".github/workflows/code-push.yml" -> "coingaming/.github/.github/workflows/tests.yml@main" (source branch with sha:f57828a229a5edbf4f674628c25f46914c6ead12) --> "coingaming/.github/.github/workflows/build.yml@v1.3.1" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
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"