Rust sdk : update to 0.2.42 #6776
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Danger CI | |
on: [pull_request, merge_group] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Danger main check | |
# Skip in forks, it doesn't work even with the fallback token | |
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add SSH private keys for submodule repositories | |
uses: webfactory/ssh-agent@v0.9.0 | |
with: | |
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | |
- name: Clone submodules | |
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }} | |
run: git submodule update --init --recursive | |
- run: | | |
npm install --save-dev @babel/plugin-transform-flow-strip-types | |
- name: Danger | |
uses: danger/danger-js@12.3.3 | |
with: | |
args: "--dangerfile ./tools/danger/dangerfile.js" | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} | |
# Fallback for forks | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |