Skip to content

Commit

Permalink
Update GitHub action versions to reduce warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
flodolo committed May 9, 2024
1 parent fd5b32a commit cc7c4ff
Show file tree
Hide file tree
Showing 11 changed files with 58 additions and 58 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auth_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
with:
submodules: "recursive"

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
environment-file: env.yml
Expand Down Expand Up @@ -105,9 +105,9 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2

- name: Install depedencies
- name: Install dependencies
shell: bash
run: |
pip3 install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cloudflare_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
# Run a build step here if your project requires
- name: Building
shell: bash
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/gh_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
cd tools/wasm_chrome
deno run --allow-all generate_branch_file.ts -T ${{ secrets.GITHUB_TOKEN }}
- name: Uploading
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Wasm-Chrome
path: tools/wasm_chrome
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4
- name: Uploading
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Logviewer
path: tools/logviewer
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4
- name: Uploading
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: AddonStats
path: tools/addonstats
Expand All @@ -78,11 +78,11 @@ jobs:
uses: actions/checkout@v4

- name: Cache conda Packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-packages
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: vpn
environment-file: env.yml
Expand All @@ -94,7 +94,7 @@ jobs:
npm run inspector:build
- name: Uploading
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Inspector Build
path: tools/inspector/dist/app
Expand All @@ -106,7 +106,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "16"

Expand All @@ -118,7 +118,7 @@ jobs:
npm run build
- name: Uploading
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Translations Report
path: tools/translationsreport/app/build
Expand All @@ -134,7 +134,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y $(./scripts/linux/getdeps.py -a linux/debian/control)
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
rm addon_private_key.pem
- name: Uploading
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Addons
path: |
Expand All @@ -185,37 +185,37 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Download Wasm-chrome
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Wasm-Chrome
# Destination path
path: _site
- name: Download a Addons Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Addons
path: _site/addons

- name: Download the Logviewer Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Logviewer
path: _site/logviewer

- name: Download the AddonStats Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: AddonStats
path: _site/addonstats

- name: Download a Inspector Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Inspector Build
path: _site/inspector

- name: Download the Translations Report artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Translations Report
path: _site/translationsreport
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y aspell aspell-en $(./scripts/linux/getdeps.py -b linux/debian/control)
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
Expand Down Expand Up @@ -78,15 +78,15 @@ jobs:
with:
fetch-depth: 1
- name: Cache conda Packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-packages
# Glean is required for the gradle build.
- name: Fetch glean submodules
run: |
git submodule update --init 3rdparty/glean
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: vpn
environment-file: env.yml
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
Expand All @@ -40,7 +40,7 @@ jobs:
run: ./scripts/linux/script.sh --source --gitref ${GITREF}

- name: Upload source bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Sources
path: .tmp
Expand All @@ -52,7 +52,7 @@ jobs:

steps:
- name: Download Source Package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Sources

Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
flatpak build-bundle fp-export-dir mozillavpn.flatpak org.mozilla.vpn
- name: Uploading
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Flatpak Build
path: mozillavpn.flatpak
Expand All @@ -95,7 +95,7 @@ jobs:

steps:
- name: Download Source Package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Sources

Expand All @@ -109,7 +109,7 @@ jobs:
run: rpmbuild -D "_topdir $(pwd)" -D "_sourcedir $(pwd)" -ba mozillavpn.spec

- name: Uploading
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: RPM Build
path: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/linux_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:
sudo apt-get update
sudo apt-get install -y $(./scripts/linux/getdeps.py -a linux/debian/control)
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
- run: pip install -r requirements.txt

- name: Cache grcov
id: cache-grcov
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: grcov-build/
key: ${{ runner.os }}-grcov-v0.8.13
Expand All @@ -64,7 +64,7 @@ jobs:
cp ./build/cmake/tests/dummyvpn/dummyvpn build/
cp -r ./build/cmake/tests/dummyvpn/addons build/addons
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: test-client-${{ github.sha }}
path: |
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: test-client-${{ github.sha }}
path: build/
Expand All @@ -112,7 +112,7 @@ jobs:
sudo apt-get install -y $(./scripts/linux/getdeps.py -r linux/debian/control)
sudo apt install --no-upgrade firefox xvfb -y
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
Expand All @@ -126,7 +126,7 @@ jobs:

- name: Cache grcov
id: cache-grcov
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: grcov-build/
key: ${{ runner.os }}-grcov-v0.8.13
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
-o ${{ runner.temp }}/artifacts/functional_lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
if: steps.generateGrcov.outcome == 'success'
with:
directory: .
Expand All @@ -177,7 +177,7 @@ jobs:
verbose: true

- name: Uploading artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: ${{ matrix.test.name }} Logs
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/macos_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
submodules: "recursive"

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
environment-file: env.yml
Expand All @@ -55,7 +55,7 @@ jobs:
cp ./build/cmake/tests/dummyvpn/dummyvpn build/
cp -r ./build/cmake/tests/dummyvpn/addons build/addons
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: test-client-${{ github.sha }}
path: |
Expand Down Expand Up @@ -90,12 +90,12 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: test-client-${{ github.sha }}
path: build/

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
MVPN_BIN: ./build/dummyvpn

- name: Uploading artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: ${{ matrix.test.name }} Logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ppa-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
submodules: "recursive"

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
exit $JOB_EXIT_CODE
- name: Uploading sources
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: Sources
Expand Down
Loading

0 comments on commit cc7c4ff

Please sign in to comment.