Skip to content

Commit

Permalink
Merge pull request #3 from ceddlyburge/eco-ci-energy-estimation-v4
Browse files Browse the repository at this point in the history
Use eco-ci-energy-estimation v4
  • Loading branch information
ceddlyburge authored Oct 9, 2024
2 parents cde2020 + 4c64d7d commit 7ec8baa
Showing 1 changed file with 8 additions and 8 deletions.
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

0 comments on commit 7ec8baa

Please sign in to comment.