Skip to content

Commit

Permalink
Split licenses check into a separate test target. (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
  • Loading branch information
PiotrSikora authored Aug 1, 2020
1 parent a7f810b commit 02ee188
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ on:

jobs:

licenses:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Check licenses
run: |
go get -u github.com/google/addlicense
export PATH=$PATH:$(go env GOPATH)/bin
addlicense -check .
stable:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -53,12 +65,6 @@ jobs:
- name: Format (manifest)
run: cargo verify-project

- name: Format (addlicense)
run: |
go get -u github.com/google/addlicense
export PATH=$PATH:$(go env GOPATH)/bin
addlicense -check .
- name: Package (docs)
run: cargo doc --no-deps --target=wasm32-unknown-unknown

Expand Down Expand Up @@ -92,12 +98,6 @@ jobs:
- name: Format (manifest)
run: cargo +nightly verify-project

- name: Format (addlicense)
run: |
go get -u github.com/google/addlicense
export PATH=$PATH:$(go env GOPATH)/bin
addlicense -check .
- name: Package (docs)
run: cargo +nightly doc --no-deps --target=wasm32-unknown-unknown

Expand Down

0 comments on commit 02ee188

Please sign in to comment.