Compare commits

..

31 Commits

Author SHA1 Message Date
Edward Thomson 03566f31ab Suggest npm publish workflow for TypeScript projects 2019-10-23 14:46:02 +01:00
Edward Thomson d4827491da Suggest node workflow for TypeScript projects 2019-10-23 14:44:16 +01:00
Hayden Faulds bf9694e89a Merge pull request #170 from carlosbuenosvinos/patch-1
Fix TYPO in the comment block
2019-10-18 14:54:42 +01:00
Carlos Buenosvinos 0ce39950d6 Fix TYPO in the comment block 2019-10-18 15:51:16 +02:00
Mike Coutermarsh 254c11de8a Merge pull request #167 from actions/ethomson/label_instructions
Pull Request Labeler: add instructions
2019-10-16 18:44:40 -07:00
Mike Coutermarsh 272bf3b441 Merge pull request #168 from josh/ws
Trim trailing whitespace
2019-10-16 18:44:08 -07:00
Joshua Peek 24f2f86d00 Trim trailing whitespace 2019-10-16 12:40:14 -07:00
Edward Thomson fbda5df60b Pull Request Labeler: add instructions
It was pointed out (https://github.com/actions/labeler/issues/18) that when using the labeler from the starter-workflow, it's not clear that there is more work to do to configure the action.  Add information and link to the action's README.
2019-10-16 18:30:34 +01:00
Andy McKay c7da5a7e80 Merge pull request #61 from leafac/patch-1
Use npm ci instead of npm install
2019-10-08 08:23:04 -07:00
Leandro Facchinetti f761ff73ad Keep the name the same 2019-10-08 09:45:07 -04:00
Andy McKay fa623365b4 Merge pull request #56 from zachguo/patch-1
fix npm-publish.yml
2019-10-07 13:55:19 -07:00
Andy McKay 87b9b0ca12 Merge pull request #54 from JackTreble/master
Add Scala workflow
2019-10-07 13:47:21 -07:00
Andy McKay 36419cb342 Merge pull request #88 from christeredvartsen/issue/15-php-template
Initial commit of PHP template
2019-10-07 13:43:34 -07:00
Andy McKay 4529f67135 Merge pull request #138 from roberto-butti/issue/116-laravel-template
Added Laravel template
2019-10-07 13:42:47 -07:00
Mike Coutermarsh f2e7da9712 Merge pull request #160 from mjhoy/use-haskell-setup
add setup-haskell action to haskell starter workflow
2019-10-05 13:10:05 -07:00
Jack Treble 28e1d85265 change iconName to blank 2019-10-04 17:50:53 +01:00
Michael Hoy 8a8e98dcfe add setup-haskell action to haskell starter workflow 2019-10-04 05:48:05 -04:00
Andy McKay 2b82d4e930 Delete CODE_OF_CONDUCT.md
As per idea from @okuryu there's now an org wide CODE_OF_CONDUCT, so let's just remove this.
2019-10-03 15:15:16 -07:00
Andy McKay ad93884ba3 Merge pull request #156 from actions/add-in-contributing
Add in guidelines for contributing
2019-10-03 14:14:25 -07:00
Roberto B 9f247c9a93 updating due review feedback about following the guidelines 2019-10-03 10:08:25 +02:00
Roberto B f83534a553 Merge branch 'master' into issue/116-laravel-template 2019-10-03 10:00:59 +02:00
Christer Edvartsen 01383c3f3f Change name and add comment regarding test script 2019-10-03 07:08:21 +02:00
Andy McKay 23fb7443be Merge pull request #81 from khoi/swift
Add Swift starter template
2019-10-02 16:51:24 -07:00
Roberto B 8365b9ecb2 Added Laravel template 2019-09-20 18:44:58 +02:00
Zach Guo 7f515b734a only trigger npm publish on release creation event 2019-09-17 12:31:43 -07:00
Jack Treble b0a460212d add JDK setup & add scala.properties.json 2019-09-09 11:12:23 +01:00
Christer Edvartsen c2600f2e02 Initial commit of PHP template
Resolves #15
2019-09-01 13:36:46 +02:00
khoi 941b3de36e Add Swift starter template 2019-08-29 14:21:24 +07:00
Leandro Facchinetti bc65c241ed Use npm ci instead of npm install
https://docs.npmjs.com/cli/ci.html
2019-08-21 11:12:54 -04:00
Zach Guo 654b83e0f3 fix absent node_modules for npm publish 2019-08-20 15:00:38 -07:00
Jack Treble 3eb436ecce Add Scala template 2019-08-20 15:12:26 +01:00
24 changed files with 153 additions and 102 deletions
-76
View File
@@ -1,76 +0,0 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope
This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at opensource@github.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
+8 -1
View File
@@ -1,3 +1,10 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler/blob/master/README.md
name: Labeler
on: [pull_request]
@@ -9,4 +16,4 @@ jobs:
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
+1 -1
View File
@@ -8,7 +8,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
+2 -2
View File
@@ -4,9 +4,9 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
+1 -1
View File
@@ -6,7 +6,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
+1 -1
View File
@@ -6,7 +6,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run a one-line script
+2 -2
View File
@@ -4,9 +4,9 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
+2 -2
View File
@@ -6,10 +6,10 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v1
- name: Install dependencies
+2 -2
View File
@@ -6,10 +6,10 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
+2 -2
View File
@@ -5,9 +5,9 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the Docker image
+8 -2
View File
@@ -4,13 +4,19 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.6.5'
cabal-version: '3.0'
- name: Install dependencies
run: cabal install --only-dependencies --enable-tests
run: |
cabal update
cabal install --only-dependencies --enable-tests
- name: Build
run: |
cabal configure --enable-tests
+24
View File
@@ -0,0 +1,24 @@
name: Laravel
on: [push]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Generate key
run: php artisan key:generate
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: vendor/bin/phpunit
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm ci
npm run build --if-present
npm test
env:
+4 -6
View File
@@ -1,12 +1,8 @@
name: Node.js Package
on:
pull_request:
branches:
- master
push:
branches:
- master
release:
types: [created]
jobs:
build:
@@ -28,6 +24,7 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -42,6 +39,7 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@your-github-username'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
+23
View File
@@ -0,0 +1,23 @@
name: PHP Composer
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
# - name: Run test suite
# run: composer run-script test
+9
View File
@@ -0,0 +1,9 @@
{
"name": "Laravel",
"description": "Test a Laravel project.",
"iconName": "php",
"categories": [
"PHP",
"Laravel"
]
}
+2 -2
View File
@@ -2,5 +2,5 @@
"name": "Node.js",
"description": "Build and test a Node.js project with npm.",
"iconName": "nodejs",
"categories": ["JavaScript", "Node", "Npm"]
}
"categories": ["JavaScript", "TypeScript", "Node", "Npm"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Node.js Package",
"description": "Publishes a Node.js package to npm and GitHub Package Registry.",
"iconName": "node-package-transparent",
"categories": ["JavaScript", "SDLC"]
"categories": ["JavaScript", "TypeScript", "SDLC"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "PHP",
"description": "Build and test a PHP application using Composer",
"iconName": "php",
"categories": ["PHP", "Composer"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Scala",
"description": "Build and test a Scala project with SBT.",
"iconName": "blank",
"categories": ["Scala", "Java"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Swift",
"description": "Build and test a Swift Package.",
"iconName": "swift",
"categories": ["Swift"]
}
+17
View File
@@ -0,0 +1,17 @@
name: Scala CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Run tests
run: sbt test
+15
View File
@@ -0,0 +1,15 @@
name: Swift
on: [push]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="40px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 36" version="1.1" height="36px">
<defs>
<linearGradient id="a" x2="50%" x1="50%" y2="100%">
<stop stop-color="#F88A36" offset="0"/>
<stop stop-color="#FD2020" offset="1"/>
</linearGradient>
</defs>
<path d="m29.885 33.047c-4.667 2.696-11.084 2.973-17.54 0.206-5.2273-2.224-9.5646-6.117-12.345-10.565 1.3346 1.112 2.8916 2.002 4.5598 2.78 6.6672 3.125 13.333 2.911 18.024 0.008-0.003-0.003-0.005-0.005-0.007-0.008-6.673-5.116-12.345-11.789-16.571-17.238-0.8901-0.8898-1.5574-2.002-2.2247-3.0029 5.1159 4.671 13.235 10.565 16.126 12.234-6.116-6.451-11.566-14.458-11.344-14.236 9.676 9.787 18.685 15.348 18.685 15.348 0.298 0.168 0.528 0.308 0.713 0.433 0.195-0.496 0.366-1.011 0.51-1.545 1.557-5.672-0.222-12.123-4.115-17.461 9.008 5.4495 14.347 15.681 12.122 24.245-0.058 0.231-0.121 0.459-0.189 0.683 0.026 0.031 0.052 0.063 0.078 0.096 4.448 5.561 3.225 11.455 2.669 10.343-2.413-4.722-6.88-3.278-9.151-2.32z" fill="url(#a)"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB