Skip to content

Commit d0a2971

Browse files
authored
align GitHub actions to other repos (#19)
1 parent f05d0c6 commit d0a2971

File tree

3 files changed

+36
-39
lines changed

3 files changed

+36
-39
lines changed

.github/workflows/build.yaml

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

.github/workflows/ci.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: ci
2+
on:
3+
- push
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: norio-nomura/[email protected]
11+
macos-test:
12+
strategy:
13+
matrix:
14+
swift-version:
15+
- "5.5"
16+
- "5.4"
17+
- "5.3"
18+
runs-on: macos-latest
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: fwal/setup-swift@v1
22+
with:
23+
swift-version: ${{ matrix.swift-version }}
24+
- run: swift test
25+
linux-test:
26+
strategy:
27+
matrix:
28+
swift-version:
29+
- "5.5"
30+
- "5.0"
31+
runs-on: ubuntu-latest
32+
container: swift:${{ matrix.swift-version }}
33+
steps:
34+
- uses: actions/checkout@v2
35+
- run: swift test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Swift](https://img.shields.io/badge/Swift-5.5-blue?logo=swift&logoColor=white)](https://swift.org)
44
![Platform](https://img.shields.io/badge/platform-x86__64--apple|x86__64--linux-lightgrey.svg)
5-
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fdastrobu%2Fargtree%2Fbadge&style=flat)](https://actions-badge.atrox.dev/dastrobu/argtree/goto)
5+
![Build](https://github.com/dastrobu/argtree/actions/workflows/ci.yaml/badge.svg)
66

77
Command line argument parser package in Swift.
88

0 commit comments

Comments
 (0)