From 2d5682e3a3bd3543363bc520de7dfa512c3c5a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francis=20Gagn=C3=A9?= Date: Sun, 13 Oct 2024 00:51:51 -0400 Subject: [PATCH] Replace Travis CI with GitHub Actions --- .github/workflows/rust.yml | 20 ++++++++++++++++++++ .travis.yml | 5 ----- Cargo.toml | 2 +- 3 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/rust.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..7f05c5f --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,20 @@ +name: Rust + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b4f863c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: rust -rust: - - stable - - beta - - nightly diff --git a/Cargo.toml b/Cargo.toml index 1e2e3f5..b79787e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/FraGag/feeds-to-pocket" readme = "README.md" keywords = ["atom", "feed", "pocket", "rss", "syndication"] license = "MIT/Apache-2.0" -exclude = [".travis.yml"] +exclude = [".envrc", ".github", "flake.lock", "flake.nix"] [dependencies] atom_syndication = "0.12.4"