Adding Amazon shipment option example #690
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: ~ | |
workflow_dispatch: ~ | |
jobs: | |
shell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run sh-checker | |
uses: luizm/action-sh-checker@master | |
env: | |
SHFMT_OPTS: -i 2 -d | |
SHELLCHECK_OPTS: -e SC2148,SC2034 | |
csharp: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install C# dependencies | |
run: make install-csharp | |
- name: Lint project | |
run: make lint-csharp | |
go: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23 | |
# install must occur in the same step as the linter to run properly on CI | |
- name: Lint project | |
run: make install-go lint-go | |
java: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Java dependencies | |
run: make install-java | |
- name: Lint project | |
run: make lint-java | |
node: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: make install-node | |
- name: Lint project | |
run: make lint-node | |
- name: Check formatting | |
run: make format-node-check | |
php: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: make install-php | |
- name: Lint project | |
run: make lint-php | |
python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Python dependencies | |
run: make install-python | |
- name: Lint project | |
run: make lint-python | |
- name: Check formatting | |
run: make format-python-check | |
ruby: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
rubygems: '3.0.0' | |
bundler-cache: true | |
- name: Install Ruby dependencies | |
run: make install-ruby | |
- name: Lint project | |
run: make lint-ruby | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check for current dirs in docs | |
run: ./test/ensure-current-dirs-exist.sh |