Skip to content

Commit

Permalink
feat: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gribouille authored and Hakim Taklanti committed Jan 20, 2024
1 parent 8180e85 commit bea2355
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/reqwest-netrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: reqwest-netrc

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest
defaults:
run:
working-directory: ./reqwest-netrc
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: rust-netrc

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ This project is licensed under [MIT](./LICENSE).
[crate-url]: https://crates.io/crates/rust-netrc
[doc-badge]: https://docs.rs/rust-netrc/badge.svg
[doc-url]: https://docs.rs/rust-netrc
[actions-badge]: https://github.com/gribouille/netrc/actions/workflows/netrc.yml/badge.svg
[actions-url]: https://github.com/gribouille/netrc/actions/workflows/netrc.yml
[actions-badge]: https://github.com/gribouille/netrc/actions/workflows/rust-netrc.yml/badge.svg
[actions-url]: https://github.com/gribouille/netrc/actions/workflows/rust-netrc.yml

[crates-badge-2]: https://img.shields.io/crates/v/reqwest-netrc.svg
[crate-url-2]: https://crates.io/crates/reqwest-netrc
Expand Down

0 comments on commit bea2355

Please sign in to comment.