diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 74b4260..e222589 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,17 +1,9 @@ name: CI -# Run on main, tags, or any pull request on: - schedule: - - cron: '0 2 * * *' # Daily at 2 AM UTC (8 PM CST) push: branches: [main] tags: ["*"] pull_request: -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} @@ -20,8 +12,8 @@ jobs: fail-fast: false matrix: version: - - "1.6" # first supported version - - "1" # Latest Release + - '1.6' + - '1' # automatically expands to the latest stable 1.x release of Julia os: - ubuntu-latest - macOS-latest @@ -36,14 +28,9 @@ jobs: - os: windows-latest arch: x86 include: - # Add specific version used to run the reference tests. - # Must be kept in sync with version check in `test/runtests.jl`, - # and with the branch protection rules on the repository which - # require this specific job to pass on all PRs - # (see Settings > Branches > Branch protection rules). - os: ubuntu-latest - version: 1.7.2 arch: x64 + version: nightly steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 @@ -56,18 +43,14 @@ jobs: - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v2 with: - files: lcov.info - + file: lcov.info docs: name: Documentation runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 - with: - version: '1' - - uses: julia-buildpkg@v1 - - uses: julia-docdeploy@v1 + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-docdeploy@latest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} diff --git a/.github/workflows/JuliaNightly.yml b/.github/workflows/JuliaNightly.yml deleted file mode 100644 index f521f61..0000000 --- a/.github/workflows/JuliaNightly.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: JuliaNightly -# Nightly Scheduled Julia Nightly Run -on: - schedule: - - cron: '0 2 * * *' # Daily at 2 AM UTC (8 PM CST) -jobs: - test: - name: Julia Nightly - Ubuntu - x64 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 - with: - version: nightly - arch: x64 - - uses: actions/cache@v2 - env: - cache-name: julia-nightly-cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ env.cache-name }}- - - uses: julia-actions/julia-buildpkg@latest - - run: | - git config --global user.name Tester - git config --global user.email te@st.er - - uses: julia-actions/julia-runtest@latest - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v2 - with: - files: lcov.info diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index f49313b..f389611 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -4,6 +4,11 @@ on: types: - created workflow_dispatch: + inputs: + lookback: + default: 3 +permissions: + contents: write jobs: TagBot: if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'