Skip to content

Commit

Permalink
initial commit 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
CemYil03 committed Aug 21, 2021
0 parents commit cc69838
Show file tree
Hide file tree
Showing 13 changed files with 1,501 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build

on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.swiftlint.yml'
- '**/*.swift'
pull_request:
branches: [ main ]
paths:
- '.swiftlint.yml'
- '**/*.swift'

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v
24 changes: 24 additions & 0 deletions .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: swiftlint

on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.swiftlint.yml'
- '**/*.swift'
pull_request:
branches: [ main ]
paths:
- '.swiftlint.yml'
- '**/*.swift'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: GitHub Action for SwiftLint
uses: norio-nomura/[email protected]
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: test

on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.swiftlint.yml'
- '**/*.swift'
pull_request:
branches: [ main ]
paths:
- '.swiftlint.yml'
- '**/*.swift'

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Run tests
run: swift test -v
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.build
DerivedData
/.previous-build
xcuserdata
.DS_Store
*~
\#*
.\#*
.*.sw[nop]
*.xcscmblueprint
/default.profraw
*.xcodeproj
Utilities/Docker/*.tar.gz
.swiftpm
Package.resolved
/build
*.pyc
2 changes: 2 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
disabled_rules:
- large_tuple
Loading

0 comments on commit cc69838

Please sign in to comment.