Compare commits

...

191 Commits

Author SHA1 Message Date
Fabian 5761b8d24b Merge pull request #3260 from actions/ghes-pages-node24
update deploy pages
2026-04-03 15:56:46 -05:00
Fabian f8ea026167 update deploy pages 2026-04-03 20:23:22 +00:00
GitHub Actions deb6811079 Updating GHES workflows 2025-12-04 18:30:48 +00:00
GitHub Actions c246d80c75 Updating GHES workflows 2025-10-15 14:42:40 +00:00
GitHub Actions 0a800a787c Updating GHES workflows 2025-02-03 12:22:39 +00:00
GitHub Actions a4dbb6391f Updating GHES workflows 2024-09-03 09:55:53 +00:00
GitHub Actions 452261e242 Updating GHES workflows 2024-08-20 13:06:36 +00:00
GitHub Actions 26400ce4d5 Updating GHES workflows 2024-07-30 17:40:47 +00:00
GitHub Actions c725e6558a Updating GHES workflows 2024-07-30 17:38:28 +00:00
GitHub Actions 97a1eac844 Updating GHES workflows 2024-05-13 09:29:42 +00:00
Yoann Chaudet a32d0884ca Merge pull request #2396 from actions/ghes-pagesv4
Ghes pagesv4
2024-05-06 21:38:55 -07:00
Yoann Chaudet 9dff456256 Downgrade configure-pages to v4 since ghes-actions is lagging behind 2024-05-06 21:31:11 -07:00
GitHub Actions 9d78eaa240 Updating GHES workflows 2024-04-29 21:44:23 +00:00
Yoann Chaudet d7eb05853b Merge pull request #2387 from actions/ghes-pages
Ghes pages
2024-04-29 12:43:00 -07:00
Yoann Chaudet 06f9fb7fa3 Revert Pages actions to last ones compatible with GHES 2024-04-29 12:09:12 -07:00
GitHub Actions 5c5d982a32 Updating GHES workflows 2024-04-29 19:05:37 +00:00
GitHub Actions 724ffe54b7 Updating GHES workflows 2024-04-25 16:52:34 +00:00
GitHub Actions 60cf90b26e Updating GHES workflows 2024-04-18 19:39:37 +00:00
Fabian Aguilar Gomez 43ab435b51 Merge pull request #2366 from actions/pages-ghes-3.13
Revert Pages actions to last ones compatible with GHES
2024-04-17 17:47:01 -05:00
GitHub Actions b2e9b953bf Updating GHES workflows 2024-04-11 11:17:41 +00:00
Yoann Chaudet 0329dc03ce Revert Pages actions to last ones compatible with GHES 2024-04-05 14:22:52 -07:00
GitHub Actions 8d2a913ae0 Updating GHES workflows 2024-04-03 15:22:51 +00:00
GitHub Actions 8c7ee816e0 Updating GHES workflows 2024-03-30 01:21:25 +00:00
GitHub Actions 17fe5c7de8 Updating GHES workflows 2024-03-30 01:10:11 +00:00
GitHub Actions 9eade7871e Updating GHES workflows 2024-03-28 03:40:28 +00:00
GitHub Actions 5b42f56a6a Updating GHES workflows 2024-03-27 17:52:17 +00:00
GitHub Actions d5665549c5 Updating GHES workflows 2024-03-26 13:13:29 +00:00
GitHub Actions 3f976c4682 Updating GHES workflows 2024-03-25 23:27:10 +00:00
GitHub Actions 1321cdf994 Updating GHES workflows 2024-03-12 19:08:45 +00:00
GitHub Actions 5b1bc4080e Updating GHES workflows 2024-01-29 20:29:26 +00:00
GitHub Actions 6c250eb62e Updating GHES workflows 2024-01-10 22:12:47 +00:00
GitHub Actions 1a4b2218a8 Updating GHES workflows 2023-12-22 19:39:02 +00:00
GitHub Actions f5e9c68376 Updating GHES workflows 2023-12-14 13:02:11 +00:00
GitHub Actions 4e54349850 Updating GHES workflows 2023-12-04 21:54:19 +00:00
GitHub Actions fc1b4b5a61 Updating GHES workflows 2023-12-04 11:03:32 +00:00
GitHub Actions 0059fec5f8 Updating GHES workflows 2023-10-03 07:58:37 +00:00
GitHub Actions bcdba11782 Updating GHES workflows 2023-08-11 00:05:55 +00:00
GitHub Actions e529eb20ed Updating GHES workflows 2023-07-13 15:47:27 +00:00
GitHub Actions 7453014501 Updating GHES workflows 2023-07-13 14:42:30 +00:00
GitHub Actions 9f31adb6cc Updating GHES workflows 2023-07-13 14:40:36 +00:00
GitHub Actions c34a432b17 Updating GHES workflows 2023-07-13 14:11:22 +00:00
GitHub Actions 82719ed8ae Updating GHES workflows 2023-07-12 16:40:18 +00:00
GitHub Actions 7942bd898b Updating GHES workflows 2023-06-13 18:05:57 +00:00
GitHub Actions 91bc191de0 Updating GHES workflows 2023-06-02 08:51:39 +00:00
GitHub Actions 22f025c6ab Updating GHES workflows 2023-05-31 19:17:44 +00:00
GitHub Actions d85ab73e08 Updating GHES workflows 2023-04-18 18:45:37 +00:00
GitHub Actions 3f16403080 Updating GHES workflows 2023-04-18 16:22:05 +00:00
GitHub Actions 1002117c0c Updating GHES workflows 2023-03-27 22:19:59 +00:00
GitHub Actions 8db6f2a36e Updating GHES workflows 2023-03-27 22:15:55 +00:00
GitHub Actions c61a258aad Updating GHES workflows 2023-03-14 16:06:49 +00:00
GitHub Actions 661eb08820 Updating GHES workflows 2023-03-14 16:06:02 +00:00
GitHub Actions 21cc118c35 Updating GHES workflows 2023-03-14 05:26:45 +00:00
GitHub Actions f64df68890 Updating GHES workflows 2023-03-10 12:38:21 +00:00
GitHub Actions b35bf7d6f6 Updating GHES workflows 2023-03-10 00:58:03 +00:00
GitHub Actions b2167d7786 Updating GHES workflows 2023-03-09 19:11:51 +00:00
GitHub Actions 14591aecf7 Updating GHES workflows 2023-03-09 17:55:38 +00:00
GitHub Actions e1cecc376a Updating GHES workflows 2023-01-26 00:44:29 +00:00
GitHub Actions 0e88c801eb Updating GHES workflows 2023-01-23 17:32:59 +00:00
GitHub Actions 9124a2783a Updating GHES workflows 2023-01-03 08:18:57 +00:00
GitHub Actions 443384d635 Updating GHES workflows 2023-01-03 08:12:59 +00:00
GitHub Actions 1acff35e6b Updating GHES workflows 2022-12-14 21:06:03 +00:00
GitHub Actions 7eefe684f7 Updating GHES workflows 2022-12-14 13:39:33 +00:00
GitHub Actions 97a60b2516 Updating GHES workflows 2022-12-13 12:32:36 +00:00
GitHub Actions 8ca82d473a Updating GHES workflows 2022-12-13 10:42:26 +00:00
GitHub Actions c7deaaa7a7 Updating GHES workflows 2022-12-08 06:04:15 +00:00
GitHub Actions dd6165f804 Updating GHES workflows 2022-11-23 19:25:09 +00:00
GitHub Actions 56cd01b1bb Updating GHES workflows 2022-11-23 15:22:50 +00:00
GitHub Actions a8f630895c Updating GHES workflows 2022-11-22 21:06:04 +00:00
GitHub Actions f9115b3429 Updating GHES workflows 2022-11-22 21:04:49 +00:00
GitHub Actions 08abd1ed14 Updating GHES workflows 2022-11-10 13:45:36 +00:00
GitHub Actions 92e51bbc9a Updating GHES workflows 2022-10-28 10:35:26 +00:00
GitHub Actions a55693d47e Updating GHES workflows 2022-10-27 18:15:30 +00:00
GitHub Actions 62588429e6 Updating GHES workflows 2022-10-27 07:05:03 +00:00
GitHub Actions e19b783da4 Updating GHES workflows 2022-10-25 11:07:58 +00:00
GitHub Actions 623da53b9d Updating GHES workflows 2022-10-20 04:29:35 +00:00
GitHub Actions c757f4d1a1 Updating GHES workflows 2022-10-13 05:35:30 +00:00
GitHub Actions 51d26076d6 Updating GHES workflows 2022-09-30 12:21:47 +00:00
GitHub Actions 7f1d660112 Updating GHES workflows 2022-09-22 11:46:26 +00:00
GitHub Actions 9038abce30 Updating GHES workflows 2022-09-21 15:06:01 +00:00
GitHub Actions ce61da64bd Updating GHES workflows 2022-09-14 10:57:16 +00:00
GitHub Actions 62e7cb9cae Updating GHES workflows 2022-09-14 06:52:18 +00:00
GitHub Actions d82f976075 Updating GHES workflows 2022-09-14 06:43:11 +00:00
GitHub Actions e7fc998ec0 Updating GHES workflows 2022-09-14 06:18:41 +00:00
Mingzi 7cae5f2c7b Merge pull request #1731 from actions/add-pages-icons
backfill pages icon to ghes branch
2022-09-07 12:13:29 -07:00
yimysty cf827c2500 backfill pages icon to ghes branch 2022-09-07 12:12:16 -07:00
Jess Bees 20fa1bb179 Merge pull request #1710 from actions/starter-workflows-on-ghes
Apply pages workflow updates to ghes
2022-08-29 16:38:10 -04:00
James M. Greene 3c6ad93f44 Add optional quotes to Hugo CLI baseURL 2022-08-26 08:39:10 -04:00
James M. Greene fff5dd325b Clarify './_site' directory usage 2022-08-26 08:39:10 -04:00
James M. Greene 564a986028 Remove unused step ID from a few Pages workflows 2022-08-26 08:39:10 -04:00
James M. Greene 0c73cd6a36 Add a trailing slash back into the Hugo starter workflow for maximum backward compatibility with themes 2022-08-26 08:37:15 -04:00
James M. Greene 79875644f2 Update Pages starter workflows to use actions/configure-pages@v2 2022-08-26 08:37:15 -04:00
GitHub Actions 10d60db629 Updating GHES workflows 2022-08-26 04:29:52 +00:00
Jess Bees 42c2f16aaa Merge pull request #1698 from actions/pages-workflows-on-ghes
Add pages workflows
2022-08-24 15:19:25 -04:00
Jess Bees 876c20705a Add pages workflows 2022-08-24 14:52:59 -04:00
GitHub Actions 8f1e64a8a6 Updating GHES workflows 2022-07-20 11:47:44 +00:00
GitHub Actions 50fbfabb49 Updating GHES workflows 2022-07-18 12:25:02 +00:00
GitHub Actions 52389f7770 Updating GHES workflows 2022-06-22 11:45:41 +00:00
GitHub Actions f8680514c7 Updating GHES workflows 2022-06-21 08:42:31 +00:00
GitHub Actions 692f5f05ad Updating GHES workflows 2022-06-20 06:24:55 +00:00
GitHub Actions f5b98487a3 Updating GHES workflows 2022-05-04 05:52:48 +00:00
GitHub Actions 6a203a9f51 Updating GHES workflows 2022-04-26 18:52:33 +00:00
GitHub Actions 3b01a31221 Updating GHES workflows 2022-04-14 06:05:23 +00:00
GitHub Actions 0763e02a9d Updating GHES workflows 2022-04-13 05:54:18 +00:00
GitHub Actions e151dba495 Updating GHES workflows 2022-04-10 19:47:24 +00:00
GitHub Actions 0eadf71408 Updating GHES workflows 2022-03-31 13:39:38 +00:00
GitHub Actions 51a372807b Updating GHES workflows 2022-03-30 09:50:11 +00:00
GitHub Actions 3cd1bccb03 Updating GHES workflows 2022-03-30 09:22:31 +00:00
GitHub Actions 1cddd5754c Updating GHES workflows 2022-03-28 17:11:12 +00:00
GitHub Actions 2fe221019a Updating GHES workflows 2022-02-11 17:02:43 +00:00
GitHub Actions f982942d7a Updating GHES workflows 2022-01-27 04:59:07 +00:00
GitHub Actions 5625253e4f Updating GHES workflows 2022-01-27 04:57:54 +00:00
GitHub Actions 22ab3ffdb2 Updating GHES workflows 2022-01-20 03:31:26 +00:00
GitHub Actions b9d98964bb Updating GHES workflows 2022-01-14 23:06:01 +00:00
GitHub Actions 726a1fde56 Updating GHES workflows 2021-12-02 22:23:16 +00:00
GitHub Actions f0ae974e62 Updating GHES workflows 2021-12-02 03:51:52 +00:00
GitHub Actions e56f0a3e95 Updating GHES workflows 2021-12-01 19:39:01 +00:00
GitHub Actions 337d7a06ff Updating GHES workflows 2021-11-25 10:15:57 +00:00
GitHub Actions f01e7eb9b0 Updating GHES workflows 2021-10-27 14:08:44 +00:00
GitHub Actions 345e123521 Updating GHES workflows 2021-09-23 05:00:12 +00:00
GitHub Actions 1d2cedfc3f Updating GHES workflows 2021-09-21 08:05:52 +00:00
GitHub Actions 8be9ca9951 Updating GHES workflows 2021-09-16 06:22:17 +00:00
GitHub Actions 2433143cca Updating GHES workflows 2021-09-16 05:49:38 +00:00
GitHub Actions 4f21509afc Updating GHES workflows 2021-09-16 05:48:19 +00:00
GitHub Actions 3623a790cb Updating GHES workflows 2021-09-16 05:32:44 +00:00
GitHub Actions 32719e08a6 Updating GHES workflows 2021-09-16 05:30:31 +00:00
GitHub Actions 3613922186 Updating GHES workflows 2021-09-14 02:35:24 +00:00
GitHub Actions c872171c0c Updating GHES workflows 2021-09-09 10:47:00 +00:00
GitHub Actions a5d8a24850 Updating GHES workflows 2021-09-08 10:05:32 +00:00
GitHub Actions c6a566944c Updating GHES workflows 2021-09-01 18:54:06 +00:00
GitHub Actions 7529a578eb Updating GHES workflows 2021-08-25 04:29:16 +00:00
GitHub Actions 6db2679ba5 Updating GHES workflows 2021-08-24 15:28:18 +00:00
GitHub Actions 6cdaf1fd48 Updating GHES workflows 2021-08-18 23:28:41 +00:00
GitHub Actions 49dc04ba87 Updating GHES workflows 2021-07-26 15:27:09 +00:00
GitHub Actions 64a66cc158 Updating GHES workflows 2021-07-26 11:15:04 +00:00
GitHub Actions 920b11c2f0 Updating GHES workflows 2021-07-01 12:58:50 +00:00
GitHub Actions 09d65e8bb9 Updating GHES workflows 2021-06-25 21:00:29 +00:00
GitHub Actions fc6320d8d1 Updating GHES workflows 2021-06-25 20:57:32 +00:00
GitHub Actions c8e5f9fd1c Updating GHES workflows 2021-06-23 19:16:16 +00:00
GitHub Actions 96094e8e76 Updating GHES workflows 2021-06-21 17:56:28 +00:00
GitHub Actions 050f2780b3 Updating GHES workflows 2021-06-16 02:09:59 +00:00
GitHub Actions 67c938b27c Updating GHES workflows 2021-06-14 17:29:19 +00:00
GitHub Actions 0c0632eda0 Updating GHES workflows 2021-06-03 19:07:39 +00:00
GitHub Actions e0ca396890 Updating GHES workflows 2021-06-02 23:04:58 +00:00
GitHub Actions 9858eebcaa Updating GHES workflows 2021-05-05 15:46:33 +00:00
GitHub Actions 4fc6cb167f Updating GHES workflows 2021-04-27 18:38:04 +00:00
GitHub Actions 5de4fccfd1 Updating GHES workflows 2021-04-27 15:14:34 +00:00
GitHub Actions bb7e655faa Updating GHES workflows 2021-04-16 21:28:56 +00:00
GitHub Actions 4ec495b664 Updating GHES workflows 2021-04-09 22:34:42 +00:00
GitHub Actions e2eeba9fc2 Updating GHES workflows 2021-04-05 15:31:49 +00:00
GitHub Actions b35c8db5d7 Updating GHES workflows 2021-02-26 22:25:50 +00:00
GitHub Actions 17479bc603 Updating GHES workflows 2021-01-15 20:21:19 +00:00
GitHub Actions 3c3f778c30 Updating GHES workflows 2021-01-05 16:48:50 +00:00
GitHub Actions 0c8aae959b Updating GHES workflows 2021-01-04 18:52:55 +00:00
GitHub Actions 29002989f9 Updating GHES workflows 2021-01-04 16:17:06 +00:00
GitHub Actions c21d165d2c Updating GHES workflows 2020-12-18 20:58:48 +00:00
GitHub Actions dab11a230a Updating GHES workflows 2020-12-18 20:01:57 +00:00
GitHub Actions f51edc98f2 Updating GHES workflows 2020-12-15 01:08:26 +00:00
GitHub Actions 2943b3eb50 Updating GHES workflows 2020-12-07 18:16:29 +00:00
GitHub Actions 0b4494c105 Updating GHES workflows 2020-11-30 17:02:58 +00:00
GitHub Actions 3860b7d860 Updating GHES workflows 2020-11-25 21:02:59 +00:00
GitHub Actions 263c7fa53e Updating GHES workflows 2020-11-25 18:16:14 +00:00
GitHub Actions efc30081fa Updating GHES workflows 2020-11-24 21:43:18 +00:00
GitHub Actions c89663c3cf Updating GHES workflows 2020-11-24 21:22:16 +00:00
GitHub Actions ebc9aa330a Updating GHES workflows 2020-11-19 22:27:39 +00:00
GitHub Actions 7fd11cddc6 Updating GHES workflows 2020-11-09 20:32:31 +00:00
GitHub Actions 9a682491ac Updating GHES workflows 2020-11-06 18:26:42 +00:00
GitHub Actions cb8bb12037 Updating GHES workflows 2020-10-21 20:29:07 +00:00
GitHub Actions 2d913365dc Updating GHES workflows 2020-10-21 20:25:45 +00:00
GitHub Actions d30f415002 Updating GHES workflows 2020-10-14 15:02:53 +00:00
GitHub Actions 2de65d448a Updating GHES workflows 2020-09-28 22:04:42 +00:00
GitHub Actions e63b3cb8d3 Updating GHES workflows 2020-09-10 00:21:31 +00:00
GitHub Actions a618a4364d Updating GHES workflows 2020-09-03 23:25:00 +00:00
GitHub Actions 9d5f3ec540 Updating GHES workflows 2020-09-01 16:43:53 +00:00
GitHub Actions 5e628d6090 Updating GHES workflows 2020-08-26 22:06:09 +00:00
GitHub Actions 10105b6aa9 Updating GHES workflows 2020-08-25 16:17:33 +00:00
GitHub Actions 904fe4006e Updating GHES workflows 2020-08-24 16:58:48 +00:00
GitHub Actions 1612e273ef Updating GHES workflows 2020-08-24 16:57:10 +00:00
GitHub Actions fc246debda Updating GHES workflows 2020-08-21 18:57:48 +00:00
GitHub Actions 3869d8c7da Updating GHES workflows 2020-08-21 15:27:57 +00:00
GitHub Actions 2e806ae206 Updating GHES workflows 2020-07-22 13:44:30 +00:00
GitHub Actions 0287d66cf4 Updating GHES workflows 2020-07-20 15:14:33 +00:00
GitHub Actions 934f35df00 Updating GHES workflows 2020-07-20 15:13:41 +00:00
GitHub Actions def70d7268 Updating GHES workflows 2020-07-14 18:11:40 +00:00
GitHub Actions a793bf3bd4 Updating GHES workflows 2020-07-09 18:07:41 +00:00
GitHub Actions ddfbfeaade Updating GHES workflows 2020-06-08 15:35:29 +00:00
GitHub Actions 1ff7963a8f Updating GHES workflows 2020-05-27 14:59:35 +00:00
GitHub Actions 85199a93ce Updating GHES workflows 2020-05-25 20:17:18 +00:00
GitHub Actions 874062869c Updating GHES workflows 2020-05-25 20:13:54 +00:00
GitHub Actions 7f38c08e7a Updating GHES workflows 2020-05-25 19:49:26 +00:00
GitHub Actions 07ab99db5c Updating GHES workflows 2020-05-22 15:44:59 +00:00
GitHub Actions 2ba37119d3 Updating GHES workflows 2020-05-20 18:39:56 +00:00
158 changed files with 2403 additions and 1407 deletions
-13
View File
@@ -1,13 +0,0 @@
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Message that will be displayed on users'' first issue'
pr-message: 'Message that will be displayed on users'' first pr'
-19
View File
@@ -1,19 +0,0 @@
# 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]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
+32
View File
@@ -0,0 +1,32 @@
# This is a basic workflow that is manually triggered
name: Manual workflow
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
# Default value if no value is explicitly provided
default: 'World'
# Input has to be provided for the workflow to run
required: true
# The data type of the input
type: string
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
greet:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Send greeting
run: echo "Hello ${{ inputs.name }}"
@@ -1,6 +0,0 @@
{
"name": "Greetings",
"description": "Greets users who are first time contributors to the repo",
"iconName": "octicon smiley",
"categories": ["Automation", "SDLC"]
}
@@ -1,6 +0,0 @@
{
"name": "Labeler",
"description": "Labels pull requests based on the files changed",
"iconName": "octicon tag",
"categories": ["Automation", "SDLC"]
}
@@ -0,0 +1,6 @@
{
"name": "Manual workflow",
"description": "Simple workflow that is manually triggered.",
"iconName": "octicon person",
"categories": ["Automation"]
}
+10 -2
View File
@@ -1,16 +1,24 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 0 * * *"
- cron: $cron-daily
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v1
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
+24
View File
@@ -0,0 +1,24 @@
name: Ada (GNAT)
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up GNAT toolchain
run: >
sudo apt-get update &&
sudo apt-get install gnat gprbuild
- name: Build
run: gprbuild -j0 -p
+11 -6
View File
@@ -2,9 +2,9 @@ name: Android CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -12,10 +12,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v4
- name: set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 1.8
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
+8 -7
View File
@@ -1,13 +1,13 @@
# This workflow will build a Java project with Ant
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant
name: Java CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -15,10 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 1.8
java-version: '11'
distribution: 'temurin'
- name: Build with Ant
run: ant -noinput -buildfile build.xml
-80
View File
@@ -1,80 +0,0 @@
# This workflow will build and push a new container image to Amazon ECR,
# and then will deploy a new task definition to Amazon ECS, when a release is created
#
# To use this workflow, you will need to complete the following set-up steps:
#
# 1. Create an ECR repository to store your images.
# For example: `aws ecr create-repository --repository-name my-ecr-repo --region us-east-2`.
# Replace the value of `ECR_REPOSITORY` in the workflow below with your repository's name.
# Replace the value of `aws-region` in the workflow below with your repository's region.
#
# 2. Create an ECS task definition, an ECS cluster, and an ECS service.
# For example, follow the Getting Started guide on the ECS console:
# https://us-east-2.console.aws.amazon.com/ecs/home?region=us-east-2#/firstRun
# Replace the values for `service` and `cluster` in the workflow below with your service and cluster names.
#
# 3. Store your ECS task definition as a JSON file in your repository.
# The format should follow the output of `aws ecs register-task-definition --generate-cli-skeleton`.
# Replace the value of `task-definition` in the workflow below with your JSON file's name.
# Replace the value of `container-name` in the workflow below with the name of the container
# in the `containerDefinitions` section of the task definition.
#
# 4. Store an IAM user access key in GitHub Actions secrets named `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
# See the documentation for each action used below for the recommended IAM policies for this IAM user,
# and best practices on handling the access key credentials.
on:
release:
types: [created]
name: Deploy to Amazon ECS
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Build, tag, and push image to Amazon ECR
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: my-ecr-repo
IMAGE_TAG: ${{ github.sha }}
run: |
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: sample-app
image: ${{ steps.build-image.outputs.image }}
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: sample-app-service
cluster: default
wait-for-service-stability: true
-46
View File
@@ -1,46 +0,0 @@
# This workflow will build and push a node.js application to an Azure Web App when a release is created.
#
# This workflow assumes you have already created the target Azure App Service web app.
# For instructions see https://docs.microsoft.com/azure/app-service/app-service-plan-manage#create-an-app-service-plan
#
# To configure this workflow:
#
# 1. Set up a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE with the value of your Azure publish profile.
# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret
#
# 2. Change the values for the AZURE_WEBAPP_NAME, AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables (below).
#
# For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
on:
release:
types: [created]
env:
AZURE_WEBAPP_NAME: your-app-name # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
NODE_VERSION: '10.x' # set this to the node version to use
jobs:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: npm install, build, and test
run: |
# Build and test the project, then
# deploy to Azure Web App.
npm install
npm run build --if-present
npm run test --if-present
- name: 'Deploy to Azure WebApp'
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
+17 -14
View File
@@ -2,13 +2,16 @@
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the $default-branch branch
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -19,15 +22,15 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
+3 -3
View File
@@ -2,9 +2,9 @@ name: C/C++ CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: configure
run: ./configure
- name: make
+3 -3
View File
@@ -2,9 +2,9 @@ name: Clojure CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: lein deps
- name: Run tests
+75
View File
@@ -0,0 +1,75 @@
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: CMake on multiple platforms
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
fail-fast: false
# Set up a matrix to run the following 3 configurations:
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-latest, windows-latest]
build_type: [Release]
c_compiler: [gcc, clang, cl]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
exclude:
- os: windows-latest
c_compiler: gcc
- os: windows-latest
c_compiler: clang
- os: ubuntu-latest
c_compiler: cl
steps:
- uses: actions/checkout@v4
- name: Set reusable strings
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-S ${{ github.workspace }}
- name: Build
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --build-config ${{ matrix.build_type }}
+39
View File
@@ -0,0 +1,39 @@
# This starter workflow is for a CMake project running on a single platform. There is a different starter workflow if you need cross-platform coverage.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-multi-platform.yml
name: CMake on a single platform
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{env.BUILD_TYPE}}
+3 -3
View File
@@ -2,9 +2,9 @@ name: Crystal CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -15,7 +15,7 @@ jobs:
image: crystallang/crystal
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: shards install
- name: Run tests
-22
View File
@@ -1,22 +0,0 @@
name: Dart CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: pub get
- name: Run tests
run: pub run test
+5 -5
View File
@@ -2,9 +2,9 @@ name: Django CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -13,12 +13,12 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
+3 -3
View File
@@ -2,9 +2,9 @@ name: Docker Image CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
@@ -13,6 +13,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
-76
View File
@@ -1,76 +0,0 @@
name: Docker
on:
push:
# Publish `master` as Docker `latest` image.
branches:
- master
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for any PRs.
pull_request:
env:
# TODO: Change variable to your image's name.
IMAGE_NAME: image
jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
if [ -f docker-compose.test.yml ]; then
docker-compose --file docker-compose.test.yml build
docker-compose --file docker-compose.test.yml run sut
else
docker build . --file Dockerfile
fi
# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
push:
# Ensure test job passes before pushing image.
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME
- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
- name: Push image
run: |
IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
-25
View File
@@ -1,25 +0,0 @@
name: .NET Core
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
+28
View File
@@ -0,0 +1,28 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
-24
View File
@@ -1,24 +0,0 @@
name: Elixir CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup elixir
uses: actions/setup-elixir@v1
with:
elixir-version: 1.9.4 # Define the elixir version [required]
otp-version: 22.2 # Define the OTP version [required]
- name: Install Dependencies
run: mix deps.get
- name: Run Tests
run: mix test
+6 -3
View File
@@ -2,9 +2,12 @@ name: Erlang CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
permissions:
contents: read
jobs:
@@ -16,7 +19,7 @@ jobs:
image: erlang:22.0.7
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Compile
run: rebar3 compile
- name: Run tests
-42
View File
@@ -1,42 +0,0 @@
name: Ruby Gem
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
version: 2.6.x
- name: Publish to GPR
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
env:
GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
OWNER: username
- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
@@ -0,0 +1,66 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow lets you generate SLSA provenance file for your project.
# The generation satisfies level 3 for the provenance requirements - see https://slsa.dev/spec/v0.1/requirements
# The project is an initiative of the OpenSSF (openssf.org) and is developed at
# https://github.com/slsa-framework/slsa-github-generator.
# The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier.
# For more information about SLSA and how it improves the supply-chain, visit slsa.dev.
name: SLSA generic generator
on:
workflow_dispatch:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
outputs:
digests: ${{ steps.hash.outputs.digests }}
steps:
- uses: actions/checkout@v4
# ========================================================
#
# Step 1: Build your artifacts.
#
# ========================================================
- name: Build artifacts
run: |
# These are some amazing artifacts.
echo "artifact1" > artifact1
echo "artifact2" > artifact2
# ========================================================
#
# Step 2: Add a step to generate the provenance subjects
# as shown below. Update the sha256 sum arguments
# to include all binaries that you generate
# provenance for.
#
# ========================================================
- name: Generate subject for provenance
id: hash
run: |
set -euo pipefail
# List the artifacts the provenance will refer to.
files=$(ls artifact*)
# Generate the subjects (base64 encoded).
echo "hashes=$(sha256sum $files | base64 -w0)" >> "${GITHUB_OUTPUT}"
provenance:
needs: [build]
permissions:
actions: read # To read the workflow path.
id-token: write # To sign the provenance.
contents: write # To add assets to a release.
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0
with:
base64-subjects: "${{ needs.build.outputs.digests }}"
upload-assets: true # Optional: Upload to a new release
+38
View File
@@ -0,0 +1,38 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow lets you compile your Go project using a SLSA3 compliant builder.
# This workflow will generate a so-called "provenance" file describing the steps
# that were performed to generate the final binary.
# The project is an initiative of the OpenSSF (openssf.org) and is developed at
# https://github.com/slsa-framework/slsa-github-generator.
# The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier.
# For more information about SLSA and how it improves the supply-chain, visit slsa.dev.
name: SLSA Go releaser
on:
workflow_dispatch:
release:
types: [created]
permissions: read-all
jobs:
# ========================================================================================================================================
# Prerequesite: Create a .slsa-goreleaser.yml in the root directory of your project.
# See format in https://github.com/slsa-framework/slsa-github-generator/blob/main/internal/builders/go/README.md#configuration-file
#=========================================================================================================================================
build:
permissions:
id-token: write # To sign.
contents: write # To upload release assets.
actions: read # To read workflow path.
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.4.0
with:
go-version: 1.17
# =============================================================================================================
# Optional: For more options, see https://github.com/slsa-framework/slsa-github-generator#golang-projects
# =============================================================================================================
+11 -20
View File
@@ -1,37 +1,28 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ^1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
go-version: '1.20'
- name: Build
run: go build -v .
run: go build -v ./...
- name: Test
run: go test -v .
run: go test -v ./...
-75
View File
@@ -1,75 +0,0 @@
# This workflow will build a docker container, publish it to Google Container Registry, and deploy it to GKE when a release is created
#
# To configure this workflow:
#
# 1. Ensure that your repository contains the necessary configuration for your Google Kubernetes Engine cluster, including deployment.yml, kustomization.yml, service.yml, etc.
#
# 2. Set up secrets in your workspace: GKE_PROJECT with the name of the project, GKE_EMAIL with the service account email, GKE_KEY with the Base64 encoded JSON service account key (https://github.com/GoogleCloudPlatform/github-actions/tree/docs/service-account-key/setup-gcloud#inputs).
#
# 3. Change the values for the GKE_ZONE, GKE_CLUSTER, IMAGE, REGISTRY_HOSTNAME and DEPLOYMENT_NAME environment variables (below).
name: Build and Deploy to GKE
on:
release:
types: [created]
# Environment variables available to all jobs and steps in this workflow
env:
GKE_PROJECT: ${{ secrets.GKE_PROJECT }}
GKE_EMAIL: ${{ secrets.GKE_EMAIL }}
GITHUB_SHA: ${{ github.sha }}
GKE_ZONE: us-west1-a
GKE_CLUSTER: example-gke-cluster
IMAGE: gke-test
REGISTRY_HOSTNAME: gcr.io
DEPLOYMENT_NAME: gke-test
jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Setup gcloud CLI
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
with:
version: '270.0.0'
service_account_email: ${{ secrets.GKE_EMAIL }}
service_account_key: ${{ secrets.GKE_KEY }}
# Configure docker to use the gcloud command-line tool as a credential helper
- run: |
# Set up docker to authenticate
# via gcloud command-line tool.
gcloud auth configure-docker
# Build the Docker image
- name: Build
run: |
docker build -t "$REGISTRY_HOSTNAME"/"$GKE_PROJECT"/"$IMAGE":"$GITHUB_SHA" \
--build-arg GITHUB_SHA="$GITHUB_SHA" \
--build-arg GITHUB_REF="$GITHUB_REF" .
# Push the Docker image to Google Container Registry
- name: Publish
run: |
docker push $REGISTRY_HOSTNAME/$GKE_PROJECT/$IMAGE:$GITHUB_SHA
# Set up kustomize
- name: Set up Kustomize
run: |
curl -o kustomize --location https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
chmod u+x ./kustomize
# Deploy the Docker image to the GKE cluster
- name: Deploy
run: |
gcloud container clusters get-credentials $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT
./kustomize edit set image $REGISTRY_HOSTNAME/$GKE_PROJECT/$IMAGE:${GITHUB_SHA}
./kustomize build . | kubectl apply -f -
kubectl rollout status deployment/$DEPLOYMENT_NAME
kubectl get services -o wide
-33
View File
@@ -1,33 +0,0 @@
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#publishing-using-gradle
name: Gradle Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Gradle
run: gradle build
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Publish to GitHub Packages
run: gradle publish
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
-26
View File
@@ -1,26 +0,0 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
-40
View File
@@ -1,40 +0,0 @@
name: Haskell CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.8.2'
cabal-version: '3.0'
- name: Cache
uses: actions/cache@v1
env:
cache-name: cache-cabal
with:
path: ~/.cabal
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: |
cabal update
cabal build --only-dependencies --enable-tests --enable-benchmarks
- name: Build
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test all
-74
View File
@@ -1,74 +0,0 @@
# This workflow will build a docker container, publish it to IBM Container Registry, and deploy it to IKS when a release is created
#
# To configure this workflow:
#
# 1. Ensure that your repository contains a Dockerfile
# 2. Setup secrets in your repository by going to settings: Create ICR_NAMESPACE and IBM_CLOUD_API_KEY
# 3. Change the values for the IBM_CLOUD_REGION, REGISTRY_HOSTNAME, IMAGE_NAME, IKS_CLUSTER, DEPLOYMENT_NAME, and PORT
name: Build and Deploy to IKS
on:
release:
types: [created]
# Environment variables available to all jobs and steps in this workflow
env:
GITHUB_SHA: ${{ github.sha }}
IBM_CLOUD_API_KEY: ${{ secrets.IBM_CLOUD_API_KEY }}
IBM_CLOUD_REGION: us-south
ICR_NAMESPACE: ${{ secrets.ICR_NAMESPACE }}
REGISTRY_HOSTNAME: us.icr.io
IMAGE_NAME: iks-test
IKS_CLUSTER: example-iks-cluster-name-or-id
DEPLOYMENT_NAME: iks-test
PORT: 5001
jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Download and Install IBM Cloud CLI
- name: Install IBM Cloud CLI
run: |
curl -fsSL https://clis.cloud.ibm.com/install/linux | sh
ibmcloud --version
ibmcloud config --check-version=false
ibmcloud plugin install -f kubernetes-service
ibmcloud plugin install -f container-registry
# Authenticate with IBM Cloud CLI
- name: Authenticate with IBM Cloud CLI
run: |
ibmcloud login --apikey "${IBM_CLOUD_API_KEY}" -r "${IBM_CLOUD_REGION}" -g default
ibmcloud cr region-set "${IBM_CLOUD_REGION}"
ibmcloud cr login
# Build the Docker image
- name: Build with Docker
run: |
docker build -t "$REGISTRY_HOSTNAME"/"$ICR_NAMESPACE"/"$IMAGE_NAME":"$GITHUB_SHA" \
--build-arg GITHUB_SHA="$GITHUB_SHA" \
--build-arg GITHUB_REF="$GITHUB_REF" .
# Push the image to IBM Container Registry
- name: Push the image to ICR
run: |
docker push $REGISTRY_HOSTNAME/$ICR_NAMESPACE/$IMAGE_NAME:$GITHUB_SHA
# Deploy the Docker image to the IKS cluster
- name: Deploy to IKS
run: |
ibmcloud ks cluster config --cluster $IKS_CLUSTER
kubectl config current-context
kubectl create deployment $DEPLOYMENT_NAME --image=$REGISTRY_HOSTNAME/$ICR_NAMESPACE/$IMAGE_NAME:$GITHUB_SHA --dry-run -o yaml > deployment.yaml
kubectl apply -f deployment.yaml
kubectl rollout status deployment/$DEPLOYMENT_NAME
kubectl create service loadbalancer $DEPLOYMENT_NAME --tcp=80:$PORT --dry-run -o yaml > service.yaml
kubectl apply -f service.yaml
kubectl get services -o wide
+44
View File
@@ -0,0 +1,44 @@
name: iOS starter workflow
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
name: Build and Test default scheme using any available iPhone simulator
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['project']['targets'][0]")
echo $default | cat >default
echo Using default scheme: $default
- name: Build
env:
scheme: ${{ 'default' }}
platform: ${{ 'iOS Simulator' }}
run: |
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}' | sed -e "s/ Simulator$//"`
if [ $scheme = default ]; then scheme=$(cat default); fi
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
xcodebuild build-for-testing -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device"
- name: Test
env:
scheme: ${{ 'default' }}
platform: ${{ 'iOS Simulator' }}
run: |
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}' | sed -e "s/ Simulator$//"`
if [ $scheme = default ]; then scheme=$(cat default); fi
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
xcodebuild test-without-building -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device"
+4 -4
View File
@@ -2,9 +2,9 @@ name: Jekyll site CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
-32
View File
@@ -1,32 +0,0 @@
name: Laravel
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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: Directory Permissions
run: chmod -R 777 storage bootstrap/cache
- 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
+27
View File
@@ -0,0 +1,27 @@
name: Makefile CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: configure
run: ./configure
- name: Install dependencies
run: make
- name: Run check
run: make check
- name: Run distcheck
run: make distcheck
+10 -6
View File
@@ -1,5 +1,5 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
name: Maven Package
@@ -11,13 +11,17 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 1.8
java-version: '11'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
@@ -27,4 +31,4 @@ jobs:
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
-24
View File
@@ -1,24 +0,0 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml
+9 -7
View File
@@ -1,13 +1,13 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
jobs:
build:
@@ -16,14 +16,16 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
+36
View File
@@ -0,0 +1,36 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test
publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: $registry-url(npm)
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
+7 -21
View File
@@ -1,5 +1,5 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Node.js Package
@@ -11,10 +11,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: 20
- run: npm ci
- run: npm test
@@ -22,26 +22,12 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
+30
View File
@@ -0,0 +1,30 @@
name: Xcode - Build and Analyze
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
name: Build and analyse default scheme using xcodebuild command
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['project']['targets'][0]")
echo $default | cat >default
echo Using default scheme: $default
- name: Build
env:
scheme: ${{ 'default' }}
run: |
if [ $scheme = default ]; then scheme=$(cat default); fi
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
xcodebuild clean build analyze -scheme "$scheme" -"$filetype_parameter" "$file_to_build" | xcpretty && exit ${PIPESTATUS[0]}
+16 -4
View File
@@ -2,9 +2,12 @@ name: PHP Composer
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
permissions:
contents: read
jobs:
build:
@@ -12,10 +15,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Ada",
"description": "Build Ada project with GPRbuild.",
"iconName": "ada",
"categories": ["Continuous integration", "Ada"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Android CI",
"description": "Build an Android project with Gradle.",
"iconName": "android",
"categories": ["Java", "Mobile"]
"categories": ["Continuous integration", "Java", "Mobile"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Java with Ant",
"description": "Build and test a Java project with Apache Ant.",
"iconName": "ant",
"categories": ["Ant", "Java"]
"categories": ["Continuous integration", "Ant", "Java"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Deploy to Amazon ECS",
"description": "Deploy a container to an Amazon ECS service powered by AWS Fargate or Amazon EC2.",
"iconName": "aws",
"categories": null
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Deploy Node.js to Azure Web App",
"description": "Build a Node.js project and deploy it to an Azure Web App.",
"iconName": "azure",
"categories": null
}
+1
View File
@@ -1,6 +1,7 @@
{
"name": "Simple workflow",
"description": "Start with a file with the minimum necessary structure.",
"creator": "GitHub",
"iconName": "blank",
"categories": null
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "C/C++ with Make",
"description": "Build and test a C/C++ project using Make.",
"iconName": "c-cpp",
"categories": ["C", "C++"]
"categories": ["Continuous integration", "C", "C++"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Clojure",
"description": "Build and test a Clojure project with Leiningen.",
"iconName": "clojure",
"categories": ["Clojure", "Java"]
"categories": ["Continuous integration", "Clojure", "Java"]
}
@@ -0,0 +1,6 @@
{
"name": "CMake based, multi-platform projects",
"description": "Build and test a CMake based project on multiple platforms.",
"iconName": "cmake",
"categories": ["Continuous integration", "C", "C++"]
}
@@ -0,0 +1,6 @@
{
"name": "CMake based, single-platform projects",
"description": "Build and test a CMake based project on a single-platform.",
"iconName": "cmake",
"categories": ["Continuous integration", "C", "C++"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Crystal",
"description": "Build and test a Crystal project.",
"iconName": "crystal",
"categories": ["Crystal"]
"categories": ["Continuous integration", "Crystal"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Dart",
"description": "Build and test a Dart project with Pub.",
"iconName": "dart",
"categories": ["Dart"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Django",
"description": "Build and Test a Django Project",
"iconName": "django",
"categories": ["Python", "Django"]
"categories": ["Continuous integration", "Python", "Django"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Docker image",
"description": "Build a Docker image to deploy, run, or push to a registry.",
"iconName": "docker",
"categories": ["Dockerfile"]
"categories": ["Continuous integration", "Dockerfile"]
}
@@ -1,6 +0,0 @@
{
"name": "Publish Docker Container",
"description": "Build, test and push Docker image to GitHub Packages.",
"iconName": "docker",
"categories": ["Dockerfile"]
}
@@ -1,6 +0,0 @@
{
"name": ".NET Core",
"description": "Build and test a .NET Core or ASP.NET Core project.",
"iconName": "dotnetcore",
"categories": ["C#", "F#", "Visual Basic", "ASP", "ASP.NET", ".NET"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": ".NET",
"description": "Build and test a .NET or ASP.NET Core project.",
"iconName": "dotnet",
"categories": ["Continuous integration", "C#", "F#", "Visual Basic", "ASP", "ASP.NET", ".NET", "AspNetCore", "DotNetConsole"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Elixir",
"description": "Build and test an Elixir project with Mix.",
"iconName": "elixir",
"categories": ["Elixir", "Erlang"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Erlang",
"description": "Build and test an Erlang project with rebar.",
"iconName": "erlang",
"categories": ["Erlang"]
"categories": ["Continuous integration", "Erlang"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Ruby Gem",
"description": "Pushes a Ruby Gem to RubyGems and GitHub Package Registry.",
"iconName": "ruby-gems",
"categories": ["Ruby", "SDLC"]
}
@@ -0,0 +1,7 @@
{
"name": "SLSA Generic generator",
"creator": "Open Source Security Foundation (OpenSSF)",
"description": "Generate SLSA3 provenance for your existing release workflows",
"iconName": "generator-generic-ossf-slsa3-publish",
"categories": ["Continuous integration", "Go", "Elixir", "Erlang", "PHP", "Haskell", "Rust", "Java", "Scala", "Gradle", "Maven", "Python", "C", "C++", "TypeScript", "JavaScript", "npm", "Ruby", "HTML", "Composer", "Makefile", "Ada"]
}
@@ -0,0 +1,7 @@
{
"name": "SLSA Go releaser",
"creator": "Open Source Security Foundation (OpenSSF)",
"description": "Compile your Go project using a SLSA3 compliant builder",
"iconName": "go-ossf-slsa3-publish",
"categories": ["Continuous integration", "Go"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Go",
"description": "Build a Go project.",
"iconName": "go",
"categories": ["Go"]
"categories": ["Continuous integration", "Go"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Build and Deploy to GKE",
"description": "Build a docker container, publish it to Google Container Registry, and deploy to GKE.",
"iconName": "googlegke",
"categories": null
}
@@ -1,6 +0,0 @@
{
"name": "Publish Java Package with Gradle",
"description": "Build a Java Package using Gradle and publish to GitHub Packages.",
"iconName": "gradle",
"categories": ["Java", "Gradle"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Java with Gradle",
"description": "Build and test a Java project using a Gradle wrapper script.",
"iconName": "gradle",
"categories": ["Java", "Gradle"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Haskell",
"description": "Build and test a Haskell project with Cabal.",
"iconName": "haskell",
"categories": ["Haskell"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Build and Deploy to IKS",
"description": "Build a docker container, publish it to IBM Container Registry, and deploy to IKS.",
"iconName": "ibm",
"categories": null
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "iOS",
"description": "Build and test an iOS application using xcodebuild and any available iPhone simulator.",
"iconName": "xcode",
"categories": [
"Continuous integration",
"iOS",
"Xcode"
]
}
@@ -1,6 +1,6 @@
{
"name": "Jekyll",
"name": "Jekyll using Docker image",
"description": "Package a Jekyll site using the jekyll/builder Docker image.",
"iconName": "jekyll",
"categories": ["HTML"]
"categories": ["Continuous integration", "HTML"]
}
-9
View File
@@ -1,9 +0,0 @@
{
"name": "Laravel",
"description": "Test a Laravel project.",
"iconName": "php",
"categories": [
"PHP",
"Laravel"
]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Build projects with Make",
"description": "Build and test a project using Make.",
"iconName": "makefile",
"categories": ["Continuous integration", "Makefile"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Publish Java Package with Maven",
"description": "Build a Java Package using Maven and publish to GitHub Packages.",
"iconName": "maven",
"categories": ["Java", "Maven"]
"categories": ["Continuous integration", "Java", "Maven", "Spring", "JSF"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Java with Maven",
"description": "Build and test a Java project with Apache Maven.",
"iconName": "maven",
"categories": ["Java", "Maven"]
}
+1 -1
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": ["Continuous integration", "JavaScript", "npm", "React", "Angular", "Vue"]
}
@@ -0,0 +1,6 @@
{
"name": "Publish Node.js Package to GitHub Packages",
"description": "Publishes a Node.js package to GitHub Packages.",
"iconName": "node-package-transparent",
"categories": ["Continuous integration", "JavaScript", "npm"]
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "Publish Node.js Package",
"description": "Publishes a Node.js package to npm and GitHub Packages.",
"description": "Publishes a Node.js package to npm.",
"iconName": "node-package-transparent",
"categories": ["JavaScript", "SDLC"]
"categories": ["Continuous integration", "JavaScript", "npm"]
}
@@ -0,0 +1,6 @@
{
"name": "Xcode - Build and Analyze",
"description": "Build Xcode project using xcodebuild",
"iconName": "xcode",
"categories": ["Continuous integration", "Xcode", "Objective-C"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "PHP",
"description": "Build and test a PHP application using Composer",
"iconName": "php",
"categories": ["PHP", "Composer"]
"categories": ["Continuous integration", "PHP", "Composer"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Pylint",
"description": "Lint a Python application with pylint.",
"iconName": "python",
"categories": ["Continuous integration", "Python", "Bottle", "Flask"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Python application",
"description": "Create and test a Python application.",
"iconName": "python",
"categories": ["Python"]
"categories": ["Continuous integration", "Python", "Bottle", "Flask"]
}
@@ -0,0 +1,6 @@
{
"name": "Python Package using Anaconda",
"description": "Create and test a Python package on multiple Python versions using Anaconda for package management.",
"iconName": "python",
"categories": ["Continuous integration", "Python"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Python package",
"description": "Create and test a Python package on multiple Python versions.",
"iconName": "python",
"categories": ["Python"]
"categories": ["Continuous integration", "Python", "Bottle", "Flask"]
}
@@ -1,6 +0,0 @@
{
"name": "Publish Python Package",
"description": "Publish a Python Package to PyPI on release.",
"iconName": "python",
"categories": ["Python"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Ruby",
"description": "Build and test a Ruby project with Rake.",
"iconName": "ruby",
"categories": ["Ruby"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Rust",
"description": "Build and test a Rust project with Cargo.",
"iconName": "rust",
"categories": ["Rust"]
"categories": ["Continuous integration", "Rust"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Scala",
"description": "Build and test a Scala project with SBT.",
"iconName": "scala",
"categories": ["Scala", "Java"]
}
+1 -1
View File
@@ -2,5 +2,5 @@
"name": "Swift",
"description": "Build and test a Swift Package.",
"iconName": "swift",
"categories": ["Swift"]
"categories": ["Continuous integration", "Swift"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Tencent Kubernetes Engine",
"description": "This workflow will build a docker container, publish and deploy it to Tencent Kubernetes Engine (TKE).",
"iconName": "tencentcloud",
"categories": null
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Terraform",
"description": "Set up Terraform CLI in your GitHub Actions workflow.",
"iconName": "terraform",
"categories": null
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Webpack",
"description": "Build a NodeJS project with npm and webpack.",
"iconName": "webpack",
"categories": ["Continuous integration", "JavaScript", "TypeScript", "npm", "Webpack"]
}
@@ -1,6 +0,0 @@
{
"name": "WPF .NET Core",
"description": "Build, test and publish a Wpf application built on .NET Core.",
"iconName": "dotnetcore",
"categories": ["C#", "Visual Basic", "WPF", ".NET"]
}
+23
View File
@@ -0,0 +1,23 @@
name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
+10 -7
View File
@@ -1,13 +1,16 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
branches: [ master ]
branches: [ $default-branch ]
permissions:
contents: read
jobs:
build:
@@ -15,11 +18,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.8
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip

Some files were not shown because too many files have changed in this diff Show More