From efa1d00a44af0cd323baabf7cfd89e6b06c896b2 Mon Sep 17 00:00:00 2001 From: Andeya Date: Tue, 15 Oct 2024 15:42:45 +0800 Subject: [PATCH] update workflows --- .github/workflows/ci.yml | 4 ++-- .github/workflows/coverage.yml | 6 +++--- Cargo.toml | 2 +- README.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d383919..66c08ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: Auto Build on: push: branches: - - master + - main pull_request: branches: - - master + - main jobs: build: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 19cd8c8..ca7c8df 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -3,10 +3,10 @@ name: Code Coverage on: push: branches: - - master + - main pull_request: branches: - - master + - main jobs: cover: @@ -31,4 +31,4 @@ jobs: - name: Upload to codecov.io uses: codecov/codecov-action@v4 with: - token: ${{secrets.CODECOV_TOKEN}} \ No newline at end of file + token: ${{secrets.CODECOV_TOKEN}} diff --git a/Cargo.toml b/Cargo.toml index 0d79c9d..2c20e28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "salvo-casbin" -version = "0.2.0" +version = "0.73.0" edition = "2021" license = "Apache-2.0" description = "Casbin salvo access control hoop" diff --git a/README.md b/README.md index 5218cb5..ac7c7fe 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ [![Crates.io](https://img.shields.io/crates/d/salvo-casbin)](https://crates.io/crates/salvo-casbin) [![Docs](https://docs.rs/salvo-casbin/badge.svg)](https://docs.rs/salvo-casbin) [![CI](https://github.com/andeya/salvo-casbin/actions/workflows/ci.yml/badge.svg)](https://github.com/andeya/salvo-casbin/actions/workflows/ci.yml) -[![codecov](https://codecov.io/gh/andeya/salvo-casbin/branch/master/graph/badge.svg)](https://codecov.io/gh/andeya/salvo-casbin) +[![codecov](https://codecov.io/gh/andeya/salvo-casbin/branch/main/graph/badge.svg)](https://codecov.io/gh/andeya/salvo-casbin) -[Casbin](https://github.com/casbin/casbin-rs) access control hoop for [salvo](https://github.com/salvo/salvo) framework +[Casbin](https://github.com/casbin/casbin-rs) access control hoop for [salvo](https://github.com/salvo-rs/salvo) framework ## Install