Skip to content

Bump org.hamcrest:hamcrest from 2.2 to 3.0 #218

Bump org.hamcrest:hamcrest from 2.2 to 3.0

Bump org.hamcrest:hamcrest from 2.2 to 3.0 #218

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions: # Default permissions restricted to read
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
name: Java ${{ matrix.java }} ${{ matrix.os }}
permissions:
contents: read
checks: write
strategy:
matrix:
java: [17]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
java-version: ${{ matrix.java }}
distribution: 'corretto'
- name: clean and build
run: ./gradlew clean build -Plog-tests
build-docs:
runs-on: ubuntu-latest
name: Test Documentation Build
permissions:
contents: read
checks: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK 17
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
java-version: 17
distribution: 'corretto'
- name: Set up Python 3.x
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: '3.x'
- name: clean and build
run: ./gradlew clean build -Plog-tests
- name: Upload built plain markdown test docs
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: plain-markdown-docs
path: smithy-docgen-test/build/smithyprojections/smithy-docgen-test/plain-markdown/docgen
- name: Upload built sphinx markdown test docs
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: sphinx-markdown-docs
path: |
smithy-docgen-test/build/smithyprojections/smithy-docgen-test/sphinx-markdown/docgen
!smithy-docgen-test/build/smithyprojections/smithy-docgen-test/sphinx-markdown/docgen/venv