diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..6db35d7 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,27 @@ +name: VersionVigilante + +on: pull_request + +jobs: + VersionVigilante: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1.0.0 + - uses: julia-actions/setup-julia@latest + + - name: VersionVigilante.main + run: | + julia -e 'using Pkg; Pkg.add(PackageSpec(name="VersionVigilante", rev="da/set-output"))' + julia -e 'using VersionVigilante; VersionVigilante.main("https://github.com/${{ github.repository }}")' + + # Apply 'needs version bump' label on failure + - name: ❌ Labeller + if: failure() + continue-on-error: true + uses: actions/github-script@0.3.0 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + github.issues.addLabels({...context.issue, labels: ['needs version bump']}) + diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..25e4429 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + julia-version: ['1', 'nightly', '^1.3.0-rc1'] + julia-arch: [x64, x86] + os: [ubuntu-latest, macOS-latest, windows-latest] + # 32-bit Julia binaries are not available on macOS + exclude: + - os: macOS-latest + julia-arch: x86 + + steps: + - uses: actions/checkout@v1.0.0 + - name: "Set up Julia" + uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.julia-version }} + arch: ${{ matrix.julia-arch }} + - run: julia --version diff --git a/Project.toml b/Project.toml index 6405cd5..2090451 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Example" uuid = "7876af07-990d-54b4-ab0e-23690620f79a" -version = "0.5.4" +version = "0.5.6" [compat] julia = "1"