Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use eco-ci-energy-estimation v4 #3

Merged
merged 7 commits into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:

steps:
- name: Initialize energy estimation
uses: green-coding-berlin/eco-ci-energy-estimation@v3
uses: green-coding-berlin/eco-ci-energy-estimation@v4.0-rc3
with:
task: start-measurement
continue-on-error: true

- uses: actions/checkout@v3

- name: Checkout repo measurement
uses: green-coding-berlin/eco-ci-energy-estimation@v3
uses: green-coding-berlin/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: "Repo checkout"
Expand All @@ -31,7 +31,7 @@ jobs:
node-version: 14.x

- name: Setup node measurement
uses: green-coding-berlin/eco-ci-energy-estimation@v3
uses: green-coding-berlin/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: "Setup node"
Expand All @@ -46,7 +46,7 @@ jobs:
key: node_modules-${{ hashFiles('package.json', 'package-lock.json') }}

- name: Cache node modules measurement
uses: green-coding-berlin/eco-ci-energy-estimation@v3
uses: green-coding-berlin/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: "Cache node modules"
Expand All @@ -62,7 +62,7 @@ jobs:
key: elm-${{ hashFiles('elm.json', 'review/elm.json') }}

- name: Cache .elm measurement
uses: green-coding-berlin/eco-ci-energy-estimation@v3
uses: green-coding-berlin/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: "Cache .elm"
Expand All @@ -72,7 +72,7 @@ jobs:
run: npm i

- name: npm i measurement
uses: green-coding-berlin/eco-ci-energy-estimation@v3
uses: green-coding-berlin/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: "npm i"
Expand All @@ -82,14 +82,14 @@ jobs:
run: npm run check-and-build

- name: build measurement
uses: green-coding-berlin/eco-ci-energy-estimation@v3
uses: green-coding-berlin/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: "build"
continue-on-error: true

- name: Show Energy Results
uses: green-coding-berlin/eco-ci-energy-estimation@v3
uses: green-coding-berlin/eco-ci-energy-estimation@v4.0-rc3
with:
task: display-results
pr-comment: true
Expand Down
Loading