Skip to content

Commit 98a24a0

Browse files
1 parent 8295dc0 commit 98a24a0

File tree

3 files changed

+89
-2
lines changed

3 files changed

+89
-2
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ updates:
77
schedule:
88
interval: "daily"
99

10+
- package-ecosystem: "cargo"
11+
directory: "/"
12+
schedule:
13+
interval: "daily"
14+
versioning-strategy: lockfile-only
15+
16+
1017
- package-ecosystem: "npm"
1118
directory: "/"
1219
schedule:

.github/workflows/Dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: ${{ github.actor == 'dependabot[bot]' }}
2121

2222
steps:
23-
- uses: dependabot/fetch-metadata@v2.4.0
23+
- uses: dependabot/fetch-metadata@v2.3.0
2424
with:
2525
github-token: "${{ secrets.GITHUB_TOKEN }}"
2626

@@ -35,7 +35,7 @@ jobs:
3535
if: ${{ github.actor == 'dependabot[bot]' }}
3636

3737
steps:
38-
- uses: dependabot/fetch-metadata@v2.4.0
38+
- uses: dependabot/fetch-metadata@v2.3.0
3939
with:
4040
github-token: "${{ secrets.GITHUB_TOKEN }}"
4141

.github/workflows/Rust.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: Rust
2+
3+
concurrency:
4+
group: Rust-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
security-events: write
9+
10+
on:
11+
workflow_dispatch:
12+
push:
13+
branches: [Current]
14+
pull_request:
15+
branches: [Current]
16+
workflow_call:
17+
18+
jobs:
19+
Build:
20+
runs-on: ubuntu-latest
21+
22+
env:
23+
ADBLOCK: true
24+
ASTRO_TELEMETRY_DISABLED: 1
25+
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
26+
AZURE_CORE_COLLECT_TELEMETRY: 0
27+
CHOOSENIM_NO_ANALYTICS: 1
28+
DIEZ_DO_NOT_TRACK: 1
29+
DO_NOT_TRACK: 1
30+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
31+
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
32+
ET_NO_TELEMETRY: 1
33+
GATSBY_TELEMETRY_DISABLED: 1
34+
GATSBY_TELEMETRY_OPT_OUT: 1
35+
GATSBY_TELEMETRY_OPTOUT: 1
36+
GRIT_TELEMETRY_DISABLED: 1
37+
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
38+
HINT_TELEMETRY: off
39+
HOMEBREW_NO_ANALYTICS: 1
40+
INFLUXD_REPORTING_DISABLED: true
41+
ITERATIVE_DO_NOT_TRACK: 1
42+
NEXT_TELEMETRY_DEBUG: 1
43+
NEXT_TELEMETRY_DISABLED: 1
44+
NG_CLI_ANALYTICS: false
45+
NUXT_TELEMETRY_DISABLED: 1
46+
PIN_DO_NOT_TRACK: 1
47+
POWERSHELL_TELEMETRY_OPTOUT: 1
48+
SAM_CLI_TELEMETRY: 0
49+
STNOUPGRADE: 1
50+
STRIPE_CLI_TELEMETRY_OPTOUT: 1
51+
TELEMETRY_DISABLED: 1
52+
TERRAFORM_TELEMETRY: 0
53+
VCPKG_DISABLE_METRICS: 1
54+
55+
strategy:
56+
matrix:
57+
toolchain: ["stable", "nightly"]
58+
59+
steps:
60+
- uses: actions/checkout@v4.2.2
61+
62+
- uses: actions-rs/toolchain@v1.0.7
63+
with:
64+
profile: minimal
65+
toolchain: ${{ matrix.toolchain }}
66+
67+
- uses: actions/cache@v4.2.3
68+
with:
69+
path: |
70+
~/.cargo/bin/
71+
~/.cargo/registry/index/
72+
~/.cargo/registry/cache/
73+
~/.cargo/git/db/
74+
target/
75+
Target/
76+
key: ${{ runner.os }}-cargo-${{ hashFiles('./Cargo.toml') }}
77+
- uses: actions-rs/cargo@v1.0.3
78+
with:
79+
command: build
80+
args: --release --all-features --manifest-path ./Cargo.toml

0 commit comments

Comments
 (0)