Skip to content

Commit 17555c3

Browse files
committed
Update GitHub actions
1 parent 2b7e5a8 commit 17555c3

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ jobs:
1111
name: Build and test binary
1212
steps:
1313
- name: Cache cargo registry
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: ~/.cargo/registry
1717
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
1818
- name: Cache cargo index
19-
uses: actions/cache@v3
19+
uses: actions/cache@v4
2020
with:
2121
path: ~/.cargo/git
2222
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
2323
- name: Cache cargo build
24-
uses: actions/cache@v3
24+
uses: actions/cache@v4
2525
with:
2626
path: target
2727
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions-rs/toolchain@v1
3232
with:
3333
profile: minimal
34-
toolchain: 1.67
34+
toolchain: 1.70
3535
override: true
3636
- name: Build
3737
uses: actions-rs/cargo@v1
@@ -43,3 +43,8 @@ jobs:
4343
with:
4444
command: test
4545
args: --release
46+
- name: Test the example file
47+
uses: actions-rs/cargo@v1
48+
with:
49+
command: run
50+
args: --release ./example/ips-to-resolve.txt

0 commit comments

Comments
 (0)