chore(deps): bump h2 from 0.3.24 to 0.3.26 #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- uses: goto-bus-stop/setup-zig@v2 | |
- name: Install latest stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Install cargo commands | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cargo-lambda cargo-insta | |
- name: Build | |
run: ./scripts/build-release.sh # Builds for ARM Lambda | |
- name: Release | |
run: | | |
npm i @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/git | |
npx semantic-release | |
- name: 'Upload Artifact' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: global_retention_setter | |
path: dist/global_retention_setter/bootstrap | |
retention-days: 14 # Used for testing purposes on MR | |
- name: 'Upload Artifact' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: log_retention_setter | |
path: dist/log_retention_setter/bootstrap | |
retention-days: 14 # Used for testing purposes on MR | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install latest stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Install cargo commands | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cargo-lambda cargo-insta | |
- name: Run cargo test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: -- --test-threads=1 | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: audit | |
args: -D warnings |