Skip to content

Commit

Permalink
add github action badge, fix workflow configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Apr 17, 2021
1 parent 60ebc80 commit d8d88e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build & Test

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -31,8 +31,10 @@ jobs:
- name: Install Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: clippy
override: true
- name: Build & Test (Default)
run: cargo test --verbose --no-fail-fast
- name: Build & Test (--no-default-features)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# shadowsocks-crypto

[![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)

shadowsocks' flavored cryptographic algorithm in pure Rust.

## Supported Ciphers
Expand Down

0 comments on commit d8d88e0

Please sign in to comment.