Skip to content

Commit

Permalink
Fix prettier job not running
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Feb 1, 2024
1 parent d8f5d59 commit 2e7f924
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/github_workflows.ex
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ defmodule GithubWorkflows do
defp prettier_job do
[
name: "Check formatting using Prettier",
"runs-on": "${{ matrix.versions.runner-image }}",
"runs-on": "ubuntu-latest",
steps: [
checkout_step(),
[
Expand All @@ -194,7 +194,7 @@ defmodule GithubWorkflows do
id: "npm-cache",
with: [
path: "~/.npm",
key: "${{ runner.os }}-npm"
key: "npm-ubuntu-latest"
]
],
[
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ jobs:
run: mix hex.audit
prettier:
name: Check formatting using Prettier
runs-on: ${{ matrix.versions.runner-image }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -215,7 +215,7 @@ jobs:
id: npm-cache
with:
path: ~/.npm
key: ${{ runner.os }}-npm
key: npm-ubuntu-latest
- name: Install Prettier
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm i -g prettier
Expand Down

0 comments on commit 2e7f924

Please sign in to comment.