Skip to content

Commit 796754f

Browse files
authored
Merge pull request #2 from MFB-Technologies-Inc/bugfix/fix-workflows
Bugfix/fix workflows
2 parents 12809c2 + 214e2ec commit 796754f

File tree

5 files changed

+26
-77
lines changed

5 files changed

+26
-77
lines changed

.github/workflows/macos-test.yml renamed to .github/workflows/ci.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: ci
22

33
on:
44
push:
@@ -10,7 +10,20 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13-
library:
13+
lint:
14+
runs-on: macos-12
15+
environment: default
16+
strategy:
17+
matrix:
18+
xcode: ['14.2']
19+
# Swift: 5.7
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Format lint
23+
run: swiftformat --lint .
24+
- name: Lint
25+
run: swiftlint .
26+
macos-test:
1427
runs-on: macos-12
1528
environment: default
1629
strategy:
@@ -28,3 +41,11 @@ jobs:
2841
- uses: codecov/codecov-action@v3
2942
with:
3043
fail_ci_if_error: true # optional (default = false)
44+
linux-test:
45+
runs-on: ubuntu-latest
46+
environment: default
47+
48+
steps:
49+
- uses: actions/checkout@v3
50+
- name: Run Tests
51+
run: swift test --parallel

.github/workflows/lint.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/linux-test.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# ArgumentEncoding
22

3+
[![ci](https://github.com/MFB-Technologies-Inc/swift-argument-encoding/actions/workflows/ci.yml/badge.svg)](https://github.com/MFB-Technologies-Inc/swift-argument-encoding/actions/workflows/ci.yml)
4+
[![codecov](https://codecov.io/gh/MFB-Technologies-Inc/swift-argument-encoding/branch/main/graph/badge.svg?token=UU95IDUXAX)](https://codecov.io/gh/MFB-Technologies-Inc/swift-argument-encoding)
5+
36
A library for encoding types into an Array of Strings, or 'arguments'.
47

58
## Stability

Sources/ArgumentEncoding/ArgumentRepresentable.swift

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)