Skip to content

Commit

Permalink
Update Actions
Browse files Browse the repository at this point in the history
Signed-off-by: tinyboxvk <[email protected]>
  • Loading branch information
tinyboxvk committed Nov 22, 2024
1 parent 1775c4a commit b91bf35
Show file tree
Hide file tree
Showing 30 changed files with 68 additions and 68 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/android-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ jobs:

- name: Upload apks
# Using v3 due to v4 being very slow for this artifact.
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apks
path: android/app/build/outputs/apk
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:

- name: Upload apks
# Using v3 due to v4 being very slow for this artifact.
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.test-type }}-instrumentation-apks
path: ${{ matrix.artifact-path }}
Expand Down Expand Up @@ -445,14 +445,14 @@ jobs:
uses: actions/checkout@v4

# Using v3 due to v4 being very slow for this artifact.
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ matrix.test-repeat != 0 }}
with:
name: apks
path: android/app/build/outputs/apk

# Using v3 due to v4 being very slow for this artifact.
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ matrix.test-repeat != 0 }}
with:
name: ${{ matrix.test-type }}-instrumentation-apks
Expand Down Expand Up @@ -511,14 +511,14 @@ jobs:
uses: actions/checkout@v4

# Using v3 due to v4 being very slow for this artifact.
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ matrix.test-repeat != 0 }}
with:
name: apks
path: android/app/build/outputs/apk

# Using v3 due to v4 being very slow for this artifact.
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ matrix.test-repeat != 0 }}
with:
name: e2e-instrumentation-apks
Expand Down Expand Up @@ -574,13 +574,13 @@ jobs:
uses: actions/checkout@v4

# Using v3 due to v4 being very slow for this artifact.
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: apks
path: android/app/build/outputs/apk

# Using v3 due to v4 being very slow for this artifact.
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ matrix.test-type }}-instrumentation-apks
path: ${{ matrix.path }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/android-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use custom container image if specified
if: ${{ github.event.inputs.override_container_image != '' }}
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Set locale
run: echo "LC_ALL=C.UTF-8" >> $GITHUB_ENV

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Run gradle audit task
run: android/gradlew -p android dependencyCheckAnalyze
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Set locale
run: echo "LC_ALL=C.UTF-8" >> $GITHUB_ENV

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Fix git dir
run: git config --global --add safe.directory $(pwd)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/android-kotlin-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use custom container image if specified
if: ${{ github.event.inputs.override_container_image != '' }}
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Fix HOME path
run: echo "HOME=/root" >> $GITHUB_ENV

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Run ktfmt check
run: android/gradlew -p android ktfmtCheck
2 changes: 1 addition & 1 deletion .github/workflows/android-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Scan code
uses: MobSF/mobsfscan@main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/android-xml-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Resolve container image
run: |
echo "inner_container_image=$(cat ./building/android-container-image.txt)" >> $GITHUB_ENV
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Fix HOME path
run: echo "HOME=/root" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run tidy
shell: bash
run: |-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
changelog: [CHANGELOG.md, ios/CHANGELOG.md, android/CHANGELOG.md]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: No lines must exceed ${{ env.LINE_LIMIT }} characters
run: |
awk 'length($0) > '$LINE_LIMIT' { print NR ": Line exceeds '$LINE_LIMIT' chars: " $0; found=1 } \
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use custom container image if specified
if: ${{ github.event.inputs.override_container_image != '' }}
Expand All @@ -39,7 +39,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Protoc
uses: arduino/setup-protoc@v3
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
run: echo "HOME=/root" >> $GITHUB_ENV

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout wireguard-go submodule
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/daemon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use custom container image if specified
if: ${{ github.event.inputs.override_container_image != '' }}
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
run: echo "HOME=/root" >> $GITHUB_ENV

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout submodules
run: |
Expand All @@ -91,7 +91,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout wireguard-go submodule
run: |
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout submodules
run: git submodule update --init --depth=1
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/desktop-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use custom container image if specified
if: ${{ github.event.inputs.override_container_image != '' }}
run: echo "inner_container_image=${{ github.event.inputs.override_container_image }}"
Expand All @@ -119,7 +119,7 @@ jobs:
- name: Fix HOME path
run: echo "HOME=/root" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Checkout submodules
run: |
git config --global --add safe.directory '*'
Expand All @@ -131,7 +131,7 @@ jobs:
run: ./build.sh
- name: Build test executable
run: ./desktop/packages/mullvad-vpn/scripts/build-test-executable.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: '!cancelled()'
with:
name: linux-build
Expand All @@ -154,7 +154,7 @@ jobs:
matrix:
os: ${{ fromJSON(needs.prepare-matrices.outputs.linux_matrix) }}
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ needs.build-linux.result == 'success' }}
with:
name: linux-build
Expand All @@ -167,7 +167,7 @@ jobs:
git fetch --tags --prune-tags --force
export TEST_FILTERS="${{ github.event.inputs.tests }}"
./test/scripts/ci-runtests.sh ${{ matrix.os }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: '!cancelled()'
with:
name: ${{ matrix.os }}_report
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
- name: Build test executable
shell: bash
run: ./desktop/packages/mullvad-vpn/scripts/build-test-executable.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: '!cancelled()'
with:
name: windows-build
Expand All @@ -230,7 +230,7 @@ jobs:
matrix:
os: ${{ fromJSON(needs.prepare-matrices.outputs.windows_matrix) }}
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ needs.build-windows.result == 'success' }}
with:
name: windows-build
Expand All @@ -243,7 +243,7 @@ jobs:
git fetch --tags --prune-tags --force
export TEST_FILTERS="${{ github.event.inputs.tests }}"
./test/scripts/ci-runtests.sh ${{ matrix.os }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: '!cancelled()'
with:
name: ${{ matrix.os }}_report
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
run: ./build.sh
- name: Build test executable
run: ./desktop/packages/mullvad-vpn/scripts/build-test-executable.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: '!cancelled()'
with:
name: macos-build
Expand All @@ -307,7 +307,7 @@ jobs:
matrix:
os: ${{ fromJSON(needs.prepare-matrices.outputs.macos_matrix) }}
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ needs.build-macos.result == 'success' }}
with:
name: macos-build
Expand All @@ -320,7 +320,7 @@ jobs:
git fetch --tags --prune-tags --force
export TEST_FILTERS="${{ github.event.inputs.tests }}"
./test/scripts/ci-runtests.sh ${{ matrix.os }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: '!cancelled()'
with:
name: ${{ matrix.os }}_report
Expand All @@ -337,7 +337,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: ./test/.ci-logs/artifacts
- name: Generate test result matrix
Expand All @@ -348,7 +348,7 @@ jobs:
cp ./.ci-logs/artifacts/*_report/*_report ./.ci-logs/
cargo run --bin test-manager format-test-reports ./.ci-logs/*_report \
| tee summary.html >> $GITHUB_STEP_SUMMARY
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: summary.html
path: test/summary.html
2 changes: 1 addition & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout wireguard-go submodule
run: git submodule update --init --depth=1 wireguard-go-rs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios-build-xcode-16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
SOURCE_PACKAGES_PATH: .spm
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure cache
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios-rust-ffi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
target: [aarch64-apple-ios, aarch64-apple-ios-sim]
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Protoc
uses: arduino/setup-protoc@v3
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
target: [aarch64-apple-ios, aarch64-apple-ios-sim]
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Protoc
uses: arduino/setup-protoc@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios-screenshots-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
TEST_ACCOUNT: ${{ secrets.IOS_TEST_ACCOUNT_NUMBER }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup go-lang
uses: actions/setup-go@v3
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
working-directory: ios

- name: Upload screenshot artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ios-screenshots
path: ios/Screenshots
2 changes: 1 addition & 1 deletion .github/workflows/ios-screenshots-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
TEST_ACCOUNT: ${{ secrets.IOS_TEST_ACCOUNT_NUMBER }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure cache
uses: actions/cache@v3
Expand Down
Loading

0 comments on commit b91bf35

Please sign in to comment.