Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/branch-1.0.x-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Test for branch "1.0.x/development"
branches:
- 1.0.x/development
tags:
- "!*"
- "!**"
jobs:
branch-test:
name: Test of Action-setup-swift
Expand All @@ -17,7 +17,7 @@ jobs:
- ubuntu-latest
- macOS-latest
swift-version:
- 5.1.1
- 5.1.2
- DEVELOPMENT-SNAPSHOT-2019-10-21-a
runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/branch-1.0.x-experiment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Test for branch "1.0.x/experiment"
branches:
- 1.0.x/experiment
tags:
- "!*"
- "!**"
jobs:
branch-test:
name: Test of Action-setup-swift
Expand All @@ -17,7 +17,7 @@ jobs:
- ubuntu-latest
- macOS-latest
swift-version:
- 5.1.1
- 5.1.2
- DEVELOPMENT-SNAPSHOT-2019-10-21-a
runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/branch-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Test for branch "master"
branches:
- master
tags:
- "!*"
- "!**"
jobs:
branch-test:
name: Test of Action-setup-swift
Expand All @@ -17,7 +17,7 @@ jobs:
- ubuntu-latest
- macOS-latest
swift-version:
- 5.1.1
- 5.1.2
- DEVELOPMENT-SNAPSHOT-2019-10-21-a
runs-on: ${{ matrix.os }}
steps:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/check-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ name: Check commits
"on":
push:
branches:
- "*"
- "*/*"
- "**"
- "!no-tests/**"
tags:
- "!*"
- "!**"
pull_request:
branches:
- "*"
- "*/*"
- "**"
- "!no-tests/**"
jobs:
check-modules:
name: Check whether or not unnecessary modules are installed.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/direct-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ name: Direct Test
"on":
push:
branches:
- "*"
- "*/*"
- "**"
- "!no-tests/**"
- "!master"
- "!1.0.x/development"
- "!1.0.x/experiment"
tags:
- "!*"
- "!**"
pull_request:
branches:
- "*"
- "*/*"
- "**"
- "!no-tests/**"
jobs:
direct-test:
name: Test of Action-setup-swift
Expand All @@ -25,7 +25,7 @@ jobs:
- ubuntu-latest
- macOS-latest
swift-version:
- 5.1.1
- 5.1.2
- DEVELOPMENT-SNAPSHOT-2019-10-21-a
runs-on: ${{ matrix.os }}
steps:
Expand Down
17 changes: 9 additions & 8 deletions .scripts/python_files/workflow_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@

SCRIPTS_DIR = './.scripts'
OS_LIST = ['ubuntu-latest', 'macOS-latest']
SWIFT_VERSION_LIST = ['5.1.1', 'DEVELOPMENT-SNAPSHOT-2019-10-21-a']
SWIFT_VERSION_LIST = ['5.1.2', 'DEVELOPMENT-SNAPSHOT-2019-10-21-a']
EXCLUDING_BRANCHES = ['!no-tests/**']

__each_branch = {
'name': "Test for branch \"%s\"",
'on': {
'push': {
'branches': [],
'tags': ['!*']
'tags': ['!**']
}
},
'jobs': {
Expand Down Expand Up @@ -57,11 +58,11 @@
'name': "Direct Test",
'on': {
'push': {
'branches': ['*', '*/*'],
'tags': ['!*']
'branches': ['**'] + EXCLUDING_BRANCHES,
'tags': ['!**']
},
'pull_request': {
'branches': ['*', '*/*']
'branches': ['**'] + EXCLUDING_BRANCHES
}
},
'jobs': {
Expand Down Expand Up @@ -112,11 +113,11 @@
'name': "Check commits",
'on': {
'push': {
'branches': ['*', '*/*'],
'tags': ['!*']
'branches': ['**'] + EXCLUDING_BRANCHES,
'tags': ['!**']
},
'pull_request': {
'branches': ['*', '*/*']
'branches': ['**'] + EXCLUDING_BRANCHES,
}
},
'jobs': {
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Action-setup-swift",
"version": "1.0.5-dev",
"version": "1.0.5",
"description": "Setting Swift up.",
"main": "lib/main.js",
"scripts": {
Expand Down