Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit c410b2c

Browse files
Merge pull request #70 from nodes-vapor/feature/github-actions
Replace Circle CI with Github Actions
2 parents 0ad75e7 + a789fd0 commit c410b2c

File tree

3 files changed

+40
-67
lines changed

3 files changed

+40
-67
lines changed

.circleci/config.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Documentation
2+
3+
on: [release]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v1
11+
- name: Generate Documentation
12+
uses: SwiftDocOrg/swift-doc@master
13+
with:
14+
inputs: "Sources/Bugsnag"
15+
module-name: Bugsnag
16+
output: "Documentation"
17+
- name: Upload Documentation to Wiki
18+
uses: SwiftDocOrg/github-wiki-publish-action@master@v1
19+
with:
20+
path: "Documentation"
21+
env:
22+
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.WIKI_ACCESS_TOKEN }}.2

.github/.workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: test
2+
on:
3+
- pull_request
4+
jobs:
5+
vapor_macos:
6+
runs-on: macos-latest
7+
env:
8+
DEVELOPER_DIR: /Applications/Xcode_11.4.1.app/Contents/Developer
9+
steps:
10+
- uses: actions/checkout@v2
11+
- run: xcrun swift test --enable-test-discovery --sanitize=thread
12+
vapor_bionic:
13+
container:
14+
image: vapor/swift:5.2-bionic
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- run: swift test --enable-test-discovery --sanitize=thread

0 commit comments

Comments
 (0)