Skip to content

Dependabot:(deps): Bump dawidd6/action-download-artifact from 3.0.0 to 3.1.4 #986

Dependabot:(deps): Bump dawidd6/action-download-artifact from 3.0.0 to 3.1.4

Dependabot:(deps): Bump dawidd6/action-download-artifact from 3.0.0 to 3.1.4 #986

Workflow file for this run

name: CI
on:
pull_request:
branches-ignore:
- gh-pages
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check_dependencies:
runs-on: ubuntu-latest
name: Check Dependencies
steps:
- name: PR Dependency Check
uses: gregsdennis/dependencies-action@1.3.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
context_dump:
runs-on: ubuntu-latest
steps:
# - name: <DEBUG> Dump GitHub context
# env:
# GITHUB_CONTEXT: ${{ toJson(github) }}
# run: echo "$GITHUB_CONTEXT"
# shell: bash
- name: PR json
shell: bash
run: |
echo "{
\"pr_number\": ${{ github.event.number }},
\"head\": {
\"branch\": \"${{ github.head_ref }}\",
\"sha\": \"${{ github.event.after }}\"
},
\"remote\": {
\"branch\": \"${{ github.base_ref }}\",
\"sha\": \"${{ github.event.pull_request.base.sha }}\"
},
\"html\": \"${{ github.event.pull_request._links.html.href }}\",
\"additions\": ${{ github.event.pull_request.additions }},
\"deletions\": ${{ github.event.pull_request.deletions }},
\"changed_files\": ${{ github.event.pull_request.changed_files }},
\"commits\": ${{ github.event.pull_request.commits }},
\"created_at\": \"${{ github.event.pull_request.created_at }}\",
\"is_draft\": ${{ github.event.pull_request.draft }}
}" > pr_context.json
- name: Upload PR context
uses: actions/upload-artifact@v4
with:
name: "pr_context.json"
path: "pr_context.json"
if-no-files-found: error
retention-days: 1
# BUILD, TEST & COVERAGE
build:
needs: [ "context_dump" ]
uses: ./.github/workflows/wc_build.yml
with:
matrix_filter: "[]"
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# CHECK MDOC IS OK
check_mdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# BUILD MDOC, sbt should take the latest version
- name: Build the microsite 💻
run: sbt +docs/mdoc
shell: bash
# CHECK SCALADOC IS OK
check_scaladoc:
needs: [ "check_mdoc" ]
uses: ./.github/workflows/wc_publishSite.yml
with:
publish: "no"
ci_ok:
needs: [ "build", "check_mdoc", "check_scaladoc" ]
runs-on: ubuntu-latest
steps:
- name: "Requirement needed preventing unexpected auto-merge issues"
run: echo "Matrix end correctly"
shell: bash