Skip to content

Commit 7d16c32

Browse files
authored
Merge pull request #153 from gnosischain/main
ci: merge main into develop to get latest updates for Github Actions
2 parents f143e90 + c22e703 commit 7d16c32

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/slack_release_notification.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131

3232
- name: Extract commit
3333
id: commit
34-
uses: prompt/actions-commit-hash@v2
34+
uses: prompt/actions-commit-hash@v3
3535

3636
- name: Get current date
3737
id: date
3838
run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')"
3939

4040
- id: slack
41-
uses: slackapi/slack-github-action@v1.24.0
41+
uses: slackapi/slack-github-action@v1.27.0
4242
with:
4343
payload: "{\"username\":\"Releases\",\"icon_url\":\"https://avatars3.githubusercontent.com/u/134083290\",\"text\":\"${{ inputs.message }} - ${{ github.event.head_commit.message }}\",\"attachments\":[{\"text\":\"\",\"color\":\"${{ inputs.success == true && '#36a64f' || '#FF3131' }}\",\"author_name\":\"${{ inputs.service }}\",\"title\":\"\",\"fields\":[{\"title\":\"Environment\",\"short\":true,\"value\":\"`${{ inputs.environment }}`\"},{\"title\":\"Branch\",\"short\":true,\"value\":\"${{ steps.extract_branch.outputs.branch }}\"},{\"title\":\"Commit\",\"short\":true,\"value\":\"${{ steps.commit.outputs.short }}\"},{\"title\":\"Status\",\"short\":true,\"value\":\"${{ inputs.success == true && '🟢 SUCCEEDED' || '🔴 FAILED' }}\"},{\"title\":\"Time\",\"short\":true,\"value\":\"${{ steps.date.outputs.date }}\"}]}]}"
4444
env:

.github/workflows/thegraph_dev_deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,12 @@ jobs:
4747
echo "random_id=$(openssl rand -hex 4)" >> $GITHUB_OUTPUT
4848
4949
- name: Setup Node.js
50-
uses: actions/setup-node@v2
50+
uses: actions/setup-node@v4
5151
with:
5252
node-version-file: '.nvmrc'
5353

5454
- name: Install graph-cli & dependencies
5555
run: |
56-
yarn run clean
5756
yarn global add @graphprotocol/graph-cli
5857
yarn install
5958

.github/workflows/thegraph_prod_deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
fetch-depth: 0
3636

37-
- uses: actions/cache@v2
37+
- uses: actions/cache@v4
3838
with:
3939
path: '**/node_modules'
4040
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
@@ -51,13 +51,12 @@ jobs:
5151
fi
5252
5353
- name: Setup Node.js
54-
uses: actions/setup-node@v2
54+
uses: actions/setup-node@v4
5555
with:
5656
node-version-file: '.nvmrc'
5757

5858
- name: Install graph-cli & dependencies
5959
run: |
60-
yarn run clean
6160
yarn global add @graphprotocol/graph-cli
6261
yarn install
6362

0 commit comments

Comments
 (0)