Bump actions/attest-build-provenance from 1.4.4 to 2.1.0 in the github-actions group across 1 directory #493
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: test | |
on: | |
push: | |
branches: | |
- main | |
- 1.* | |
paths-ignore: | |
- '*.md' | |
- '*.asciidoc' | |
- 'docs/**' | |
pull_request: | |
paths-ignore: | |
- '*.md' | |
- '*.asciidoc' | |
- 'docs/**' | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
env: | |
ELASTIC_STACK_VERSION: '8.4.0' | |
jobs: | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Bootstrap Action Workspace | |
uses: ./.github/workflows/bootstrap | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- uses: actions/cache@v4 | |
with: | |
path: ~\AppData\Local\ElasticManaged\elasticsearch-${{ env.ELASTIC_STACK_VERSION }} | |
key: ${{ runner.os }}-elastic-managed-${{ env.ELASTIC_STACK_VERSION }} | |
- name: Build the solution | |
run: build.bat build -s true | |
shell: cmd | |
- name: Run tests | |
run: build.bat test -s true | |
shell: cmd | |
- name: Run integration tests | |
run: build.bat integrate -s true | |
shell: cmd | |
- name: Store test results | |
if: success() || failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results-windows | |
path: build/output/junit-*.xml | |
test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Bootstrap Action Workspace | |
uses: ./.github/workflows/bootstrap | |
- name: Build the solution | |
run: ./build.sh build -s true | |
- name: Run tests | |
run: ./build.sh test -s true | |
- name: Run integration tests | |
run: ./build.sh integrate -s true | |
- name: Run release -c false | |
run: ./build.sh release -c false --token ${{ secrets.GITHUB_TOKEN }} | |
- name: Store test results | |
if: success() || failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results-linux | |
path: build/output/junit-*.xml |