Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/checkout from 2.4.0 to 3 #104

Merged
merged 2 commits into from
Jul 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
reviewers:
- "fabasoad"
labels:
- "dependencies"
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get latest release tag
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
name: Functional Tests

on:
pull_request:
branches:
- '*'
push:
branches:
- 'main'
- 'bugfix/**'
- 'dependabot/**'
- 'feature/**'

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

jobs:
functional_tests:
Expand All @@ -22,7 +19,7 @@ jobs:
version: ['3.0-rc1']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- uses: ./
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/security-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
name: Security Tests

on:
pull_request:
branches:
- '*'
push:
branches:
- 'main'
- 'bugfix/**'
- 'dependabot/**'
- 'feature/**'

jobs:
snyk_tests:
name: Snyk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- uses: snyk/actions/node@master
Expand All @@ -29,7 +29,7 @@ jobs:
language: ['javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v2.4.0
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shell-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
timeout-minutes: 3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: bewuethr/shellcheck-action@v2.1
13 changes: 5 additions & 8 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,23 @@
name: Unit Tests

on:
pull_request:
branches:
- '*'
push:
branches:
- 'main'
- 'bugfix/**'
- 'dependabot/**'
- 'feature/**'

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

jobs:
unit_tests:
name: Lint and Test
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- name: Cache node_modules
id: cache
uses: actions/cache@v2.1.7
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: ibiqlik/action-yamllint@v3.1
with:
config_file: .yamllint.yml
Expand Down
4 changes: 0 additions & 4 deletions .snyk

This file was deleted.

8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
"lint:es": "eslint src __tests__",
"lint": "yarn run lint:md && yarn run lint:es",
"postinstall": "yarn husky install",
"prepare": "yarn run snyk-protect",
"security:auth": "snyk auth",
"security:test": "snyk test",
"snyk-protect": "snyk protect",
"test": "nyc mocha __tests__"
},
"repository": {
Expand Down Expand Up @@ -46,8 +42,6 @@
"mocha-param": "2.0.1",
"nyc": "15.1.0",
"sinon": "13.0.1",
"snyk": "1.852.0",
"winston": "3.6.0"
},
"snyk": true
}
}
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1860,11 +1860,6 @@ sinon@13.0.1:
nise "^5.1.1"
supports-color "^7.2.0"

snyk@1.852.0:
version "1.852.0"
resolved "https://registry.yarnpkg.com/snyk/-/snyk-1.852.0.tgz#c539ece4f2a966312b2ac37960b375aa550f6d15"
integrity sha512-p+C0Jq7qYsdmt8gmyB7rz3I9+BsVZKrXx/VqfPRgZECTQLft5BlXXE8dtwPIlKTIIBGQeT9Cy6ZyKzvZxpE6OA==

source-map@^0.5.0:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
Expand Down