mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-29 15:56:07 +01:00
Merge pull request #184 from RustSec/github-actions
Switch to GitHub Actions
This commit is contained in:
16
.github/workflows/lint.yml
vendored
Normal file
16
.github/workflows/lint.yml
vendored
Normal file
@@ -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
|
||||
17
.travis.yml
17
.travis.yml
@@ -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'
|
||||
Reference in New Issue
Block a user