diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2db58fc57..cf4cc5695 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -6,26 +6,26 @@ on: - master - deploy paths: - - 'config/**' - - 'lib/**' - - 'priv/**' - - 'rel/**' - - 'test/**' - - '**/*.ex' - - '**/*.exs' - - 'mix.lock' - - '.github/workflows/cd.yml' - - '!config/*.example' + - "config/**" + - "lib/**" + - "priv/**" + - "rel/**" + - "test/**" + - "**/*.ex" + - "**/*.exs" + - "mix.lock" + - ".github/workflows/cd.yml" + - "!config/*.example" jobs: ci: name: Build release - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: MIX_ENV: prod GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ELIXIR_VERSION: '1.13.3' - OTP_VERSION: '24.2.1' + ELIXIR_VERSION: "1.13.3" + OTP_VERSION: "24.2.1" steps: - uses: rlespinasse/github-slug-action@v3.x - uses: actions/checkout@v2 @@ -63,4 +63,3 @@ jobs: prerelease: ${{ env.GITHUB_REF_SLUG == 'master' }} title: Latest commit on ${{ env.GITHUB_REF_SLUG }} files: _build/prod/cadet-0.0.1.tar.gz - diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d575a730d..adde20b0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,27 +4,27 @@ on: branches: - master paths: - - 'config/**' - - 'lib/**' - - 'priv/**' - - 'rel/**' - - 'test/**' - - '**/*.ex' - - '**/*.exs' - - 'mix.lock' - - '.github/workflows/ci.yml' - - '!config/*.example' + - "config/**" + - "lib/**" + - "priv/**" + - "rel/**" + - "test/**" + - "**/*.ex" + - "**/*.exs" + - "mix.lock" + - ".github/workflows/ci.yml" + - "!config/*.example" pull_request: jobs: ci: name: Run CI - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: MIX_ENV: test GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ELIXIR_VERSION: '1.13.3' - OTP_VERSION: '24.2.1' + ELIXIR_VERSION: "1.13.3" + OTP_VERSION: "24.2.1" services: postgres: image: postgres:14.2