Skip to content

Commit

Permalink
upgrade github action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ndepaola committed Jul 21, 2023
1 parent 8768d77 commit e12c250
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .github/actions/test-backend/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
steps:
- uses: browser-actions/setup-chrome@latest
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Python dependencies
Expand All @@ -30,6 +30,8 @@ runs:
shell: bash
- name: Install npm
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Compile frontend
working-directory: MPCAutofill
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test-desktop-tool/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
edge-version: beta

- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Python dependencies
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/test-frontend/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ runs:
steps:
- name: Install npm
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Compile frontend
working-directory: frontend
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test-pre-commit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ runs:
using: composite
steps:
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install pre-commit
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-desktop-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
TARGET: linux
OUT_FILE_NAME: autofill
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: browser-actions/setup-chrome@latest
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Build with pyinstaller for ${{ matrix.TARGET }}
run: pyinstaller autofill.spec
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: ./desktop-tool/dist/${{ matrix.OUT_FILE_NAME }}
name: autofill-${{ matrix.TARGET }}
4 changes: 3 additions & 1 deletion .github/workflows/build-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install npm
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install packages and run tests
working-directory: frontend
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Backend tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/test-backend
with:
google-drive-api-key: ${{ secrets.GOOGLE_DRIVE_API_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/test-desktop-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
name: Desktop tool tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/test-desktop-tool
2 changes: 1 addition & 1 deletion .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
name: Frontend tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/test-frontend
2 changes: 1 addition & 1 deletion .github/workflows/test-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
name: Formatting and static type checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/test-pre-commit
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ jobs:
name: Backend tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/test-backend
with:
google-drive-api-key: ${{ secrets.GOOGLE_DRIVE_API_KEY }}
test-desktop-tool:
name: Desktop tool tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/test-desktop-tool
test-frontend:
name: Frontend tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/test-frontend
test-pre-commit:
name: Formatting and static type checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/test-pre-commit

0 comments on commit e12c250

Please sign in to comment.