From cc0453ebd4268cb35c9ef61dc6c85f9e78b8a525 Mon Sep 17 00:00:00 2001 From: Hank Date: Tue, 11 Oct 2022 16:07:58 +0200 Subject: [PATCH 1/3] Update actions/checkout to v3 that uses Node 16 Update to latest master --- .github/workflows/translations.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 347242626559..891cab03909d 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup volta uses: volta-cli/action@v4 From cd67d3a4a6964f45367653753c0552c25b5882cb Mon Sep 17 00:00:00 2001 From: Hank Date: Mon, 7 Nov 2022 12:18:58 +0100 Subject: [PATCH 2/3] Remove ::set-output in favor of $GITHUB_OUTPUT --- .github/workflows/translations.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 891cab03909d..dfa2fddd1167 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -21,7 +21,7 @@ jobs: - name: Get npm cache directory path id: npm-cache-dir-path - run: echo "::set-output name=dir::$(npm config get cache)" + run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - name: Cache npm dependencies uses: actions/cache@v3 From 93ca30505dfc815e10de9b868de98954c804a9d9 Mon Sep 17 00:00:00 2001 From: Hank Date: Mon, 7 Nov 2022 12:22:17 +0100 Subject: [PATCH 3/3] Install Rust without action --- .github/workflows/translations.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index dfa2fddd1167..4fb0b20e25c1 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -36,10 +36,7 @@ jobs: run: npm ci - name: Install nightly Rust - uses: actions-rs/toolchain@v1.0.6 - with: - toolchain: stable - default: true + run: curl https://sh.rustup.rs -sSf | sh -s -- -y - name: Verify translations run: scripts/localization verify