Skip to content
This repository was archived by the owner on Mar 9, 2023. It is now read-only.

Commit f903368

Browse files
authored
fix: Update git submodules in gh-actions (#26)
1 parent 70f7323 commit f903368

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13+
with:
14+
submodules: true
1315
- name: Build
1416
run: cargo build --release --verbose
1517
- name: Release
@@ -26,6 +28,8 @@ jobs:
2628
packages: write
2729
steps:
2830
- uses: actions/checkout@v2
31+
with:
32+
submodules: true
2933
- name: Log in to the Container registry
3034
uses: docker/login-action@v1
3135
with:

.github/workflows/rust.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
steps:
18-
- uses: actions/checkout@v2
19-
- name: Build
20-
run: cargo build --verbose
21-
- name: Run tests
22-
run: cargo test --verbose
17+
- uses: actions/checkout@v2
18+
with:
19+
submodules: true
20+
- name: Build
21+
run: cargo build --verbose
22+
- name: Run tests
23+
run: cargo test --verbose

0 commit comments

Comments
 (0)