name: CI

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  test:
    name: "JDK ${{ matrix.java }}"
    strategy:
      matrix:
        java: [ 8, 11 ]
    runs-on: ubuntu-latest
    steps:
      # Cancel any previous runs for the same branch that are still running.
      - name: 'Cancel previous runs'
        uses: styfle/cancel-workflow-action@0.9.0
        with:
          access_token: ${{ github.token }}
      - name: 'Check out repository'
        uses: actions/checkout@v2.3.4
      - name: 'Cache local Maven repository'
        uses: actions/cache@v2.1.6
        with:
          path: ~/.m2/repository
          key: maven-${{ hashFiles('**/pom.xml') }}
          restore-keys: |
            maven-
      - name: 'Set up JDK ${{ matrix.java }}'
        uses: actions/setup-java@v2
        with:
          java-version: ${{ matrix.java }}
          distribution: 'zulu'
      - name: 'Install'
        shell: bash
        run: mvn -B -U install clean --fail-never --quiet -DskipTests=true -Dinvoker.skip=true
      - name: 'Test'
        shell: bash
        run: mvn -B verify

name: CI

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  test:
    name: "JDK ${{ matrix.java }}"
    strategy:
      matrix:
        java: [ 8, 11 ]
    runs-on: ubuntu-latest
    steps:
      # Cancel any previous runs for the same branch that are still running.
      - name: 'Cancel previous runs'
        uses: styfle/cancel-workflow-action@0.9.1
        with:
          access_token: ${{ github.token }}
      - name: 'Check out repository'
        uses: actions/checkout@v2.3.4
      - name: 'Cache local Maven repository'
        uses: actions/cache@v2.1.6
        with:
          path: ~/.m2/repository
          key: maven-${{ hashFiles('**/pom.xml') }}
          restore-keys: |
            maven-
      - name: 'Set up JDK ${{ matrix.java }}'
        uses: actions/setup-java@v2
        with:
          java-version: ${{ matrix.java }}
          distribution: 'zulu'
      - name: 'Install'
        shell: bash
        run: mvn -B -U install clean --fail-never --quiet -DskipTests=true -Dinvoker.skip=true
      - name: 'Test'
        shell: bash
        run: mvn -B verify

Bump styfle/cancel-workflow-action from 0.9.0 to 0.9.1
Bump styfle/cancel-workflow-action from 0.9.0 to 0.9.1

Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.0 to 0.9.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/styfle/cancel-workflow-action/releases">styfle/cancel-workflow-action's releases</a>.</em></p>
<blockquote>
<h2>0.9.1</h2>
<h3>Patches</h3>
<ul>
<li>Fix: cancelling jobs from different repos where two branches have the same name: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/105">#105</a></li>
<li>Fix: use getBooleanInput instead of getInput: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/92">#92</a></li>
<li>Chore: add permissions configuration in the README.md: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/96">#96</a></li>
<li>Chore: add prettier config, format file, add lint workflow: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/63">#63</a></li>
<li>Chore: create <code>dependabot.yml</code>: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/68">#68</a></li>
<li>Bump typescript from 4.1.5 to 4.2.4: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/71">#71</a></li>
<li>Bump actions/setup-node requirement to v2.1.5: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/69">#69</a></li>
<li>Bump <code>@​vercel/ncc</code> to 0.28.3: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/73">#73</a></li>
<li>Bump <code>@​actions/core</code> from 1.2.6 to 1.2.7: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/74">#74</a></li>
<li>Bump <code>@​vercel/ncc</code> from 0.28.3 to 0.28.5: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/81">#81</a></li>
<li>Bump <code>@​actions/core</code> from 1.2.7 to 1.3.0: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/90">#90</a></li>
<li>Bump prettier from 2.2.1 to 2.3.0: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/85">#85</a></li>
<li>Bump <code>@​vercel/ncc</code> from 0.28.5 to 0.28.6: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/95">#95</a></li>
<li>Bump typescript from 4.2.4 to 4.3.2: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/94">#94</a></li>
<li>Bump prettier from 2.3.0 to 2.3.1: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/97">#97</a></li>
<li>Bump typescript from 4.3.2 to 4.3.4: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/99">#99</a></li>
<li>Bump prettier from 2.3.1 to 2.3.2: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/100">#100</a></li>
<li>Bump typescript from 4.3.4 to 4.3.5: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/101">#101</a></li>
<li>Bump husky from 6.0.0 to 7.0.0: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/102">#102</a></li>
<li>Bump husky from 7.0.0 to 7.0.1: <a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/103">#103</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/mikehardy"><code>@​mikehardy</code></a>, <a href="https://github.com/MichaelDeBoey"><code>@​MichaelDeBoey</code></a>, <a href="https://github.com/Warashi"><code>@​Warashi</code></a>, <a href="https://github.com/adrienbernede"><code>@​adrienbernede</code></a>, and <a href="https://github.com/spaceface777"><code>@​spaceface777</code></a> for helping!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/a40b8845c0683271d9f53dfcb887a7e181d3918b"><code>a40b884</code></a> 0.9.1</li>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/a66ae1f29f50777b386e60b6bc1abeae8a8462a5"><code>a66ae1f</code></a> fix cancelling jobs from different repos where two branches have the same nam...</li>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/b54f1a5f83cea0b2be160c391b76400f88c60274"><code>b54f1a5</code></a> Bump husky from 7.0.0 to 7.0.1 (<a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/103">#103</a>)</li>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/cc6225c296093377dedda470594e263d8acf2e27"><code>cc6225c</code></a> Bump husky from 6.0.0 to 7.0.0 (<a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/102">#102</a>)</li>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/c94109d2f86cb1b9c3c694e1b87aafdc46be4ac2"><code>c94109d</code></a> Bump typescript from 4.3.4 to 4.3.5 (<a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/101">#101</a>)</li>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/fc3581b3434c129506b262a4a9823ba9ed4a93e8"><code>fc3581b</code></a> Bump prettier from 2.3.1 to 2.3.2 (<a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/100">#100</a>)</li>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/6f9f8b4dcf8c8f9d99904a92c5e5644915597b57"><code>6f9f8b4</code></a> Bump typescript from 4.3.2 to 4.3.4 (<a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/99">#99</a>)</li>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/6135c0ff6214e01d42a5736c988e39b7831f1e2f"><code>6135c0f</code></a> Bump prettier from 2.3.0 to 2.3.1 (<a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/97">#97</a>)</li>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/531a0365f0a7dba0c9b3edca40968be698841761"><code>531a036</code></a> chore: add permissions configuration in the README.md (<a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/96">#96</a>)</li>
<li><a href="https://github.com/styfle/cancel-workflow-action/commit/1f10757debeb7d19892a866529f3c8b5cd06b14a"><code>1f10757</code></a> Bump typescript from 4.2.4 to 4.3.2 (<a href="https://github-redirect.dependabot.com/styfle/cancel-workflow-action/issues/94">#94</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/styfle/cancel-workflow-action/compare/0.9.0...0.9.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=styfle/cancel-workflow-action&package-manager=github_actions&previous-version=0.9.0&new-version=0.9.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Fixes #265

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/compile-testing/pull/265 from google:dependabot/github_actions/styfle/cancel-workflow-action-0.9.1 9d659a00ca9bdff414cabcad54493ba04fd434e4
PiperOrigin-RevId: 387796852
