diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 703e9d0..ae532e5 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -5,23 +5,7 @@ on: name: Main jobs: - example: - runs-on: ubuntu-latest - steps: - - uses: actions/setup-python@v2 - with: - python-version: '3.7' - - uses: actions/checkout@v2 - with: - # This is necessary so that we have the tags. - fetch-depth: 0 - - uses: ./ - with: - env-var: MY_VERSION - args: --style semver - - run: echo $MY_VERSION - - complete: + test: strategy: matrix: os: @@ -35,6 +19,7 @@ jobs: python-version: '3.7' - uses: actions/checkout@v2 with: + # This is necessary so that we have the tags. fetch-depth: 0 - uses: ./ id: dunamai @@ -42,7 +27,7 @@ jobs: install: '1.13.2' env-var: MY_VERSION command: dunamai from git - args: --style semver + args: --style pep440 - if: matrix.os != 'windows-latest' run: echo $MY_VERSION from environment variable - if: matrix.os == 'windows-latest'