Skip to content

Commit

Permalink
Bump @actions/core from 1.9.1 to 1.10.0 (#67)
Browse files Browse the repository at this point in the history
* Bump snyk from 1.852.0 to 1.996.0

Bumps [snyk](https://github.com/snyk/snyk) from 1.852.0 to 1.996.0.
- [Release notes](https://github.com/snyk/snyk/releases)
- [Commits](snyk/cli@v1.852.0...v1.996.0)

---
updated-dependencies:
- dependency-name: snyk
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @actions/core from 1.9.1 to 1.10.0

* Add pre-commit badge

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fabasoad <[email protected]>
  • Loading branch information
dependabot[bot] and fabasoad authored Oct 9, 2022
1 parent 7f06e58 commit 6d1269c
Show file tree
Hide file tree
Showing 24 changed files with 631 additions and 641 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
"require-jsdoc": "off",
"semi": "off"
}
}
}
25 changes: 16 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,32 @@ assignees: fabasoad

---

**Describe the bug**
#### Describe the bug

A clear and concise description of what the bug is.

**Steps to Reproduce**
#### Steps to Reproduce

1. Run '...'
2. See error

**Expected behavior**
#### Expected behavior

A clear and concise description of what you expected to happen.

**Actual behavior**
#### Actual behavior

A clear and concise description of what is happening now.

**Screenshots**
#### Screenshots

If applicable, add screenshots to help explain your problem.

**Technical information (please complete the following information):**
- OS: [e.g. Windows 10 Enterprise v.1909 (OS Build 18363.720)]
- `setup-brainfuck-action` version [e.g. 1.0.2]
#### Technical information (please complete the following information)

- OS: [e.g. Windows 10 Enterprise v.1909 (OS Build 18363.720)]
- `setup-brainfuck-action` version [e.g. 1.0.2]

#### Additional context

**Additional context**
Add any other context about the problem here.
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/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ Please check the type of change your PR introduces:
## Other information

<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
<!-- This document was adapted from the open-source [appium/appium](https://github.com/appium/appium/blob/master/.github/PULL_REQUEST_TEMPLATE.md) repository. -->
<!-- This document was adapted from the open-source [appium/appium](https://github.com/appium/appium/blob/master/.github/PULL_REQUEST_TEMPLATE.md) repository. -->
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
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get latest release tag
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ on:
push:
branches:
- 'main'
- 'bugfix/**'
- 'dependabot/**'
- 'feature/**'

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- 'fix-*'
- 'feature-*'

jobs:
functional_tests:
Expand All @@ -23,7 +19,7 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- uses: ./
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/security-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,10 @@ on:
push:
branches:
- 'main'
- 'bugfix/**'
- 'dependabot/**'
- 'feature/**'
- 'fix-*'
- 'feature-*'

jobs:
snyk_tests:
name: Snyk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
codeql_tests:
name: CodeQL
runs-on: ubuntu-latest
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,22 @@ on:
push:
branches:
- 'main'
- 'bugfix/**'
- 'dependabot/**'
- 'feature/**'

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- 'fix-*'
- 'feature-*'

jobs:
unit_tests:
name: Lint and Test
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache node_modules
id: cache
uses: actions/cache@v2.1.7
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Compile
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/yaml-lint.yml

This file was deleted.

1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

8 changes: 0 additions & 8 deletions .husky/pre-commit

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/pre-push

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/prepare-commit-msg

This file was deleted.

2 changes: 1 addition & 1 deletion .nycrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"statements": 85.71,
"extension": ["js"],
"reporter": ["lcov","text","text-summary"]
}
}
71 changes: 71 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
default_stages: ["commit"]
exclude: ^(.gitleaks\.toml|dist/.*\.js|coverage/.*)$
repos:
- repo: local
hooks:
- id: build
name: Build
entry: yarn run build
language: system
pass_filenames: false
verbose: true
- id: test
name: Unit tests
entry: yarn test
language: system
pass_filenames: false
verbose: true
stages: ["push"]
# Security
- repo: https://github.com/Yelp/detect-secrets
rev: v1.3.0
hooks:
- id: detect-secrets
stages: ["commit", "push"]
- repo: https://github.com/zricethezav/gitleaks
rev: v8.13.0
hooks:
- id: gitleaks
stages: ["commit", "push"]
- repo: https://github.com/fabasoad/pre-commit-snyk
rev: v0.1.0
hooks:
- id: snyk-test
stages: ["push"]
# TypeScript
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.24.0
hooks:
- id: eslint
args: ['--fix']
files: \.[jt]sx?$
types: [file]
exclude: ^dist/.*\.js$
# Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint
# Yaml
- repo: https://github.com/adrienverge/yamllint
rev: v1.28.0
hooks:
- id: yamllint
args: ["-c", ".yamllint.yml"]
# Other
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-merge-conflict
- id: check-json
- id: detect-private-key
stages: ["commit", "push"]
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
- id: no-commit-to-branch
- id: trailing-whitespace
ci:
autofix_prs: false
skip: [build, eslint, test]
4 changes: 0 additions & 4 deletions .snyk

This file was deleted.

25 changes: 0 additions & 25 deletions .vscode/settings.json

This file was deleted.

4 changes: 2 additions & 2 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ extends: default

rules:
line-length:
max: 150
level: warning
max: 190
level: error
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Yevhen Fabizhevskyi
Copyright (c) 2022 Yevhen Fabizhevskyi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Setup Brainfuck

![Releases](https://img.shields.io/github/v/release/fabasoad/setup-brainfuck-action?include_prereleases) ![Unit Tests](https://github.com/fabasoad/setup-brainfuck-action/workflows/Unit%20Tests/badge.svg) ![Functional Tests](https://github.com/fabasoad/setup-brainfuck-action/workflows/Functional%20Tests/badge.svg) ![YAML Lint](https://github.com/fabasoad/setup-brainfuck-action/workflows/YAML%20Lint/badge.svg) ![Security Tests](https://github.com/fabasoad/setup-brainfuck-action/workflows/Security%20Tests/badge.svg) [![Total alerts](https://img.shields.io/lgtm/alerts/g/fabasoad/setup-brainfuck-action.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fabasoad/setup-brainfuck-action/alerts/) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/fabasoad/setup-brainfuck-action.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fabasoad/setup-brainfuck-action/context:javascript) [![Maintainability](https://api.codeclimate.com/v1/badges/a65b7469f96f9a2bfdca/maintainability)](https://codeclimate.com/github/fabasoad/setup-brainfuck-action/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/a65b7469f96f9a2bfdca/test_coverage)](https://codeclimate.com/github/fabasoad/setup-brainfuck-action/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/github/fabasoad/setup-brainfuck-action/badge.svg?targetFile=package.json)](https://snyk.io/test/github/fabasoad/setup-brainfuck-action?targetFile=package.json)
![Releases](https://img.shields.io/github/v/release/fabasoad/setup-brainfuck-action?include_prereleases) ![Unit Tests](https://github.com/fabasoad/setup-brainfuck-action/workflows/Unit%20Tests/badge.svg) ![Functional Tests](https://github.com/fabasoad/setup-brainfuck-action/workflows/Functional%20Tests/badge.svg) ![Security Tests](https://github.com/fabasoad/setup-brainfuck-action/workflows/Security%20Tests/badge.svg) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/fabasoad/setup-brainfuck-action/main.svg)](https://results.pre-commit.ci/latest/github/fabasoad/setup-brainfuck-action/main) [![Total alerts](https://img.shields.io/lgtm/alerts/g/fabasoad/setup-brainfuck-action.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fabasoad/setup-brainfuck-action/alerts/) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/fabasoad/setup-brainfuck-action.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fabasoad/setup-brainfuck-action/context:javascript) [![Maintainability](https://api.codeclimate.com/v1/badges/a65b7469f96f9a2bfdca/maintainability)](https://codeclimate.com/github/fabasoad/setup-brainfuck-action/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/a65b7469f96f9a2bfdca/test_coverage)](https://codeclimate.com/github/fabasoad/setup-brainfuck-action/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/github/fabasoad/setup-brainfuck-action/badge.svg?targetFile=package.json)](https://snyk.io/test/github/fabasoad/setup-brainfuck-action?targetFile=package.json)

This action installs one of the brainfuck interpreters called [brainfucky](https://pypi.org/project/brainfucky/).

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

31 changes: 10 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-brainfuck-action",
"version": "1.0.15",
"version": "1.0.16",
"description": "This GitHub action installs one of the brainfuck interpreters called brainfucky.",
"main": "dist/index.js",
"repository": {
Expand All @@ -19,33 +19,22 @@
},
"scripts": {
"build": "ncc build -m src/index.js",
"lint:md": "markdownlint --config .markdownlint.yml '**/*.md'",
"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",
"lint": "eslint src __tests__",
"postinstall": "pre-commit install --hook-type pre-commit && pre-commit install --hook-type pre-push",
"test": "nyc mocha __tests__"
},
"homepage": "https://github.com/fabasoad/setup-brainfuck-action#readme",
"dependencies": {
"@actions/core": "1.9.1",
"@actions/exec": "1.1.0"
"@actions/core": "1.10.0",
"@actions/exec": "1.1.1"
},
"devDependencies": {
"@vercel/ncc": "0.33.3",
"@vercel/ncc": "0.34.0",
"chai": "4.3.6",
"eslint": "8.9.0",
"eslint": "8.25.0",
"eslint-config-google": "0.14.0",
"git-branch-is": "4.0.0",
"husky": "7.0.4",
"markdownlint-cli": "0.31.1",
"mocha": "9.2.0",
"mocha": "10.0.0",
"mocha-param": "2.0.1",
"nyc": "15.1.0",
"snyk": "1.852.0"
},
"snyk": true
"nyc": "15.1.0"
}
}
Loading

0 comments on commit 6d1269c

Please sign in to comment.