Skip to content

Commit 724e5d7

Browse files
committed
set up github actions
1 parent 5a31c6f commit 724e5d7

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/test-all.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: test-all
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build-and-test:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os:
12+
- ubuntu-latest
13+
- macOS-latest
14+
- windows-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions-rs/toolchain@v1
18+
with:
19+
toolchain: stable
20+
override: true
21+
- uses: actions-rs/cargo@v1
22+
with:
23+
command: build
24+
args: --all --all-targets
25+
- uses: actions-rs/cargo@v1
26+
with:
27+
command: test
28+
args: --all-features --no-fail-fast

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# openssh-authorizedkeyscommand-github
1+
# OpenSSH AuthorizedKeysCommand GitHub
2+
3+
![GitHub Actions status for "test-all"](https://github.com/mazgi/openssh-authorizedkeyscommand-github/workflows/test-all/badge.svg)

0 commit comments

Comments
 (0)