Browse Source

Just try using `actions/checkout@v4`

pull/1220/head
Benoit Marty 1 year ago
parent
commit
995d4e9f6d
  1. 2
      .github/workflows/build.yml
  2. 2
      .github/workflows/danger.yml
  3. 2
      .github/workflows/gradle-wrapper-update.yml
  4. 2
      .github/workflows/gradle-wrapper-validation.yml
  5. 2
      .github/workflows/maestro.yml
  6. 2
      .github/workflows/nightly.yml
  7. 2
      .github/workflows/nightlyReports.yml
  8. 4
      .github/workflows/quality.yml
  9. 2
      .github/workflows/release.yml
  10. 2
      .github/workflows/sonar.yml
  11. 2
      .github/workflows/sync-localazy.yml

2
.github/workflows/build.yml

@ -27,7 +27,7 @@ jobs: @@ -27,7 +27,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/develop' && format('build-develop-{0}-{1}', matrix.variant, github.sha) || format('build-{0}-{1}', matrix.variant, github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881

2
.github/workflows/danger.yml

@ -7,7 +7,7 @@ jobs: @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
name: Danger main check
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
- run: |
npm install --save-dev @babel/plugin-transform-flow-strip-types
- name: Danger

2
.github/workflows/gradle-wrapper-update.yml

@ -8,7 +8,7 @@ jobs: @@ -8,7 +8,7 @@ jobs:
update-gradle-wrapper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v1
# Skip in forks

2
.github/workflows/gradle-wrapper-validation.yml

@ -11,5 +11,5 @@ jobs: @@ -11,5 +11,5 @@ jobs:
runs-on: ubuntu-latest
# No concurrency required, this is a prerequisite to other actions and should run every time.
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1

2
.github/workflows/maestro.yml

@ -24,7 +24,7 @@ jobs: @@ -24,7 +24,7 @@ jobs:
group: ${{ format('maestro-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881

2
.github/workflows/nightly.yml

@ -16,7 +16,7 @@ jobs: @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.repository == 'vector-im/element-x-android' }}
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
- name: Use JDK 17
uses: actions/setup-java@v3
with:

2
.github/workflows/nightlyReports.yml

@ -55,7 +55,7 @@ jobs: @@ -55,7 +55,7 @@ jobs:
name: Dependency analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
- name: Use JDK 17
uses: actions/setup-java@v3
with:

4
.github/workflows/quality.yml

@ -17,7 +17,7 @@ jobs: @@ -17,7 +17,7 @@ jobs:
name: Search for forbidden patterns
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
- name: Run code quality check suite
run: ./tools/check/check_code_quality.sh
@ -29,7 +29,7 @@ jobs: @@ -29,7 +29,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/main' && format('check-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('check-develop-{0}', github.sha) || format('check-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881

2
.github/workflows/release.yml

@ -18,7 +18,7 @@ jobs: @@ -18,7 +18,7 @@ jobs:
group: ${{ github.ref == 'refs/head/main' && format('build-release-main-{0}', github.sha) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
- name: Use JDK 17
uses: actions/setup-java@v3
with:

2
.github/workflows/sonar.yml

@ -21,7 +21,7 @@ jobs: @@ -21,7 +21,7 @@ jobs:
group: ${{ github.ref == 'refs/heads/main' && format('sonar-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('sonar-develop-{0}', github.sha) || format('sonar-{0}', github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
with:
# Ensure we are building the branch and not the branch after being merged on develop
# https://github.com/actions/checkout/issues/881

2
.github/workflows/sync-localazy.yml

@ -11,7 +11,7 @@ jobs: @@ -11,7 +11,7 @@ jobs:
# Skip in forks
if: github.repository == 'vector-im/element-x-android'
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:

Loading…
Cancel
Save