Skip to content

Commit 432221e

Browse files
authored
Transform action from 'javascript' to 'composite' (#124)
1 parent dfcb1b3 commit 432221e

19 files changed

+50
-2591
lines changed

.eslintrc.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/functional-tests-local.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
name: Functional Tests (Local)
33

4-
on:
5-
pull_request:
4+
on: [pull_request]
65

76
jobs:
87
run-script:
@@ -15,7 +14,8 @@ jobs:
1514
runs-on: ubuntu-latest
1615
steps:
1716
- uses: actions/checkout@v3
18-
- uses: ./
17+
- name: Setup COBOL
18+
uses: ./
1919
with:
2020
version: ${{ matrix.version }}
2121
- name: Validate script

.github/workflows/functional-tests-remote.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
push:
66
branches:
77
- 'main'
8-
pull_request:
98

109
jobs:
1110
run-script:
@@ -17,7 +16,8 @@ jobs:
1716
version: ['3.1.2', '3.0-rc1', '3.1-rc1', '3.1.1']
1817
runs-on: ubuntu-latest
1918
steps:
20-
- uses: fabasoad/[email protected]
19+
- name: Setup COBOL
20+
uses: fabasoad/setup-cobol-action@main
2121
with:
2222
version: ${{ matrix.version }}
2323
- name: Prepare script

.github/workflows/security-tests.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/unit-tests.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.markdownlintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.nycrc.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
11
---
22
default_stages: ["commit"]
3-
exclude: ^(\.gitleaks\.toml|dist/.*\.js|coverage/.*)$
3+
exclude: ^\.gitleaks\.toml$
44
repos:
5-
- repo: local
6-
hooks:
7-
- id: build
8-
name: Build
9-
entry: yarn run build
10-
language: system
11-
pass_filenames: false
12-
verbose: true
13-
- id: test
14-
name: Unit tests
15-
entry: yarn test
16-
language: system
17-
pass_filenames: false
18-
verbose: true
19-
stages: ["push"]
205
# Security
216
- repo: https://github.com/Yelp/detect-secrets
227
rev: v1.4.0
@@ -28,20 +13,6 @@ repos:
2813
hooks:
2914
- id: gitleaks
3015
stages: ["commit", "push"]
31-
- repo: https://github.com/fabasoad/pre-commit-snyk
32-
rev: v0.2.0
33-
hooks:
34-
- id: snyk-test
35-
stages: ["push"]
36-
# TypeScript
37-
- repo: https://github.com/pre-commit/mirrors-eslint
38-
rev: v8.28.0
39-
hooks:
40-
- id: eslint
41-
args: ['--fix']
42-
files: \.[jt]sx?$
43-
types: [file]
44-
exclude: ^dist/.*\.js$
4516
# Markdown
4617
- repo: https://github.com/igorshubovych/markdownlint-cli
4718
rev: v0.32.2
@@ -73,4 +44,3 @@ repos:
7344
- id: trailing-whitespace
7445
ci:
7546
autofix_prs: false
76-
skip: [build, eslint, test]

.yamllint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ extends: default
33

44
rules:
55
line-length:
6-
max: 165
6+
max: 185
77
level: error

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
# Setup COBOL (GnuCOBOL)
22

33
![GitHub release](https://img.shields.io/github/v/release/fabasoad/setup-cobol-action?include_prereleases)
4-
![Unit Tests](https://github.com/fabasoad/setup-cobol-action/workflows/Unit%20Tests/badge.svg)
54
![Functional Tests](https://github.com/fabasoad/setup-cobol-action/workflows/Functional%20Tests%20(Remote)/badge.svg)
6-
![Security Tests](https://github.com/fabasoad/setup-cobol-action/workflows/Security%20Tests/badge.svg)
75
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/fabasoad/setup-cobol-action/main.svg)](https://results.pre-commit.ci/latest/github/fabasoad/setup-cobol-action/main)
8-
[![Maintainability](https://api.codeclimate.com/v1/badges/84d9008a0dc1a2c6f703/maintainability)](https://codeclimate.com/github/fabasoad/setup-cobol-action/maintainability)
9-
[![Test Coverage](https://api.codeclimate.com/v1/badges/84d9008a0dc1a2c6f703/test_coverage)](https://codeclimate.com/github/fabasoad/setup-cobol-action/test_coverage)
10-
[![Known Vulnerabilities](https://snyk.io/test/github/fabasoad/setup-cobol-action/badge.svg?targetFile=package.json)](https://snyk.io/test/github/fabasoad/setup-cobol-action?targetFile=package.json)
116

127
This action sets up a [GnuCOBOL](https://en.wikipedia.org/wiki/COBOL) programming
138
language.

0 commit comments

Comments
 (0)