chore(deps-dev): bump @docusaurus/preset-classic from 3.6.0 to 3.6.1 #161
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: Lint and Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
env: | |
CI: true | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint | |
shell: bash | |
run: | | |
sudo apt install shellcheck -y | |
shellcheck *.sh | |
test: | |
needs: lint | |
strategy: | |
matrix: | |
os: | |
- ubuntu-22.04 | |
- macos-14 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3" # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install current Bash on macOS | |
if: runner.os == 'macOS' | |
shell: bash | |
run: brew install bash | |
- name: Test | |
shell: bash | |
env: | |
GIT_USERNAME: ${{ vars.GIT_FAKE_USERNAME }} | |
GIT_EMAIL: ${{ vars.GIT_FAKE_EMAIL }} | |
GPG_KEY_ID: ${{ vars.GPG_FAKE_KEY_ID }} | |
GPG_KEY: ${{ vars.GPG_FAKE_KEY }} | |
GPG_KEY_ID_UNSAFE: ${{ vars.GPG_FAKE_KEY_ID_UNSAFE }} | |
GPG_KEY_UNSAFE: ${{ vars.GPG_FAKE_KEY_UNSAFE }} | |
GPG_PASSPHRASE: ${{ vars.GPG_FAKE_PASSPHRASE }} | |
GITHUB_TOKEN: "ACTUAL_YOUR_TOKEN" | |
DOCKER_HUB_USERNAME: "ACTUAL_DOCKER_USERNAME" | |
DOCKER_HUB_PAT: "ACTUAL_DOCKER_PASSWORD" | |
run: | | |
wget https://raw.githubusercontent.com/pgrange/bash_unit/master/bash_unit --continue | |
chmod 755 ./bash_unit | |
FORCE_COLOR=true ./bash_unit tests/**/*.test.sh |