update github workflows branches and update dynamic bages
This commit is contained in:
2
.github/workflows/loc.yml
vendored
2
.github/workflows/loc.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
steps:
|
||||
- env:
|
||||
LOC: ${{needs.count-loc.outputs.loc}}
|
||||
uses: Schneegans/dynamic-badges-action@v1.6.0
|
||||
uses: Schneegans/dynamic-badges-action@v1.7.0
|
||||
with:
|
||||
auth: ${{ secrets.GIST_SECRET }}
|
||||
gistID: c16f26c4c5ab7f613fe758c913f9e71f
|
||||
|
||||
22
.github/workflows/rust.yml
vendored
22
.github/workflows/rust.yml
vendored
@@ -2,9 +2,9 @@ name: Rust
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["trunk"]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: ["trunk"]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
@@ -13,15 +13,15 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set nightly rust
|
||||
run: rustup override set nightly
|
||||
- name: Add x86_64 target
|
||||
run: rustup target add x86_64-unknown-none
|
||||
- name: Install rust-src
|
||||
run: rustup component add rust-src
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set nightly rust
|
||||
run: rustup override set nightly
|
||||
- name: Add x86_64 target
|
||||
run: rustup target add x86_64-unknown-none
|
||||
- name: Install rust-src
|
||||
run: rustup component add rust-src
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
# TODO: testing
|
||||
#- name: Run tests
|
||||
# run: cargo test --verbose
|
||||
|
||||
2
.github/workflows/rustfmt-pr.yml
vendored
2
.github/workflows/rustfmt-pr.yml
vendored
@@ -2,7 +2,7 @@ name: Rustfmt
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: ["trunk"]
|
||||
|
||||
jobs:
|
||||
format:
|
||||
|
||||
2
.github/workflows/rustfmt.yml
vendored
2
.github/workflows/rustfmt.yml
vendored
@@ -2,7 +2,7 @@ name: RustFmt
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["trunk"]
|
||||
|
||||
jobs:
|
||||
format:
|
||||
|
||||
Reference in New Issue
Block a user