Skip to content

Commit

Permalink
Upgraded github actions to the latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
palisadian committed Feb 19, 2024
1 parent 1620480 commit 6c7bd48
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-codescan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
language: [ 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Dependencies
run: npm install
Expand Down Expand Up @@ -68,10 +68,10 @@ jobs:
# needs: Code-Quality-Checks
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand All @@ -85,7 +85,7 @@ jobs:
needs: [Code-Quality-Checks]
steps:
- name: Checkout the Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Dependencies
run: npm install
Expand All @@ -107,7 +107,7 @@ jobs:
done
- name: Present and Upload coverage to Codecov as ${{env.CODECOV_UNIQUE_NAME}}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
Expand All @@ -125,10 +125,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20.x'

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -51,7 +51,7 @@ jobs:
run: npm install
- run: npm run test -- --watchAll=false --coverage
- name: Present and upload coverage to Codecov as ${{env.CODECOV_UNIQUE_NAME}}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
Expand All @@ -63,7 +63,7 @@ jobs:
if: github.ref == 'refs/heads/develop'
steps:
- name: Checkout the Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# with:
# ref: develop

Expand All @@ -77,7 +77,7 @@ jobs:

- name: Restore node_modules from cache
id: cache-npm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
needs: Generate-Documentation
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
token: ${{ secrets.TALAWA_DOCS_SYNC }}
Expand All @@ -170,7 +170,7 @@ jobs:
if: github.ref == 'refs/heads/automated-docs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dmnemec/copy_file_to_another_repo_action@v1.1.1
env:
API_TOKEN_GITHUB: ${{secrets.TALAWA_DOCS_SYNC}}
Expand Down

0 comments on commit 6c7bd48

Please sign in to comment.