From a6400213ca98fe34b2b9c93ee958dc006233f089 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Mon, 7 Oct 2019 21:01:58 -0700 Subject: [PATCH] Switch to GitHub Actions --- .github/workflows/lint.yml | 16 ++++++++++++++++ .travis.yml | 17 ----------------- 2 files changed, 16 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/lint.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..f87bd95 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,16 @@ +name: Lint Advisories + +on: + pull_request: {} + push: + branches: master + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Install rustsec-admin + run: cargo install rustsec-admin + - name: Lint + run: rustsec-admin lint diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5edd465..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: rust -cache: cargo - -install: rustsec-admin version || cargo install rustsec-admin - -# check that the advisory-db is well-formed -script: rustsec-admin lint - -branches: - only: - - master - -rust: - - stable - -notifications: - irc: 'irc.mozilla.org#rustsec'