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