Skip to content

Commit d8d88e0

Browse files
committed
add github action badge, fix workflow configuration
1 parent 60ebc80 commit d8d88e0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: .github/workflows/build-and-test.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build & Test
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66
pull_request:
7-
branches: [master]
7+
branches: [main]
88

99
env:
1010
CARGO_TERM_COLOR: always
@@ -31,8 +31,10 @@ jobs:
3131
- name: Install Rust nightly
3232
uses: actions-rs/toolchain@v1
3333
with:
34+
toolchain: nightly
3435
profile: minimal
3536
components: clippy
37+
override: true
3638
- name: Build & Test (Default)
3739
run: cargo test --verbose --no-fail-fast
3840
- name: Build & Test (--no-default-features)

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# shadowsocks-crypto
22

3+
[![Build & Test](https://github.com/shadowsocks/shadowsocks-crypto/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/shadowsocks/shadowsocks-crypto/actions/workflows/build-and-test.yml)
4+
35
shadowsocks' flavored cryptographic algorithm in pure Rust.
46

57
## Supported Ciphers

0 commit comments

Comments
 (0)