Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,3 @@ jobs:
- name: Build docs
run: ../mdBook/target/release/mdbook build
working-directory: ./sunscreen_docs
- name: Write to S3
run: aws s3 cp book s3://sunscreen-docs --recursive
working-directory: ./sunscreen_docs
env:
AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-west-2
- name: Invalidate Cloudfront
run: aws cloudfront create-invalidation --distribution-id E250PLIECML3N3 --paths "/*"
env:
AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-west-2
22 changes: 0 additions & 22 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,28 +77,6 @@ jobs:
run: ../mdBook/target/release/mdbook test -L dependency=../target/mdbook/deps --extern sunscreen=../target/mdbook/libsunscreen.rlib --extern bincode=../target/mdbook/libbincode.rlib
working-directory: ./sunscreen_docs

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-clippy-
${{ runner.os }}-cargo-
# Check the submitted change passes the clippy linter
- name: Cargo clippy
run: cargo clippy --release --all-targets -- --deny warnings

api_docs:
runs-on: ubuntu-latest
steps:
Expand Down