Skip to content

Commit

Permalink
building CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bee-san committed Sep 29, 2020
1 parent 0426aa8 commit 31ed2e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Bump

on:
schedule:
# Every 6 hours
- cron: '0 */6 * * *'
workflow_dispatch:
push:
tags:
- '*'

jobs:
bump:
Expand Down
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ fn build_nmap_arguments<'a>(
/// Parses the string(s) into IPs
fn parse_addresses(opts: &Opts) -> Vec<IpAddr> {
let mut ips: Vec<IpAddr> = Vec::new();
let resolver = &Resolver::new(ResolverConfig::cloudflare_tls(), ResolverOpts::default()).unwrap();
let resolver =
&Resolver::new(ResolverConfig::cloudflare_tls(), ResolverOpts::default()).unwrap();

for ip_or_host in &opts.addresses {
match read_ips_from_file(ip_or_host.to_owned(), &resolver) {
Expand Down

0 comments on commit 31ed2e8

Please sign in to comment.