Skip to content

Bump follow-redirects from 1.15.1 to 1.15.5 in /motoko/random_maze #2691

Bump follow-redirects from 1.15.1 to 1.15.5 in /motoko/random_maze

Bump follow-redirects from 1.15.1 to 1.15.5 in /motoko/random_maze #2691

name: motoko-superheroes
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# JOB to run change detection
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
# Set job outputs to values from filter step
outputs:
sources: ${{ steps.filter.outputs.sources }}
steps:
- uses: actions/checkout@v4
if: github.event_name == 'push'
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
sources:
- motoko/superheroes/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/motoko-superheroes-example.yaml
motoko-superheroes-example-darwin:
needs: changes
if: github.event_name == 'push' || needs.changes.outputs.sources == 'true'
runs-on: macos-12
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Motoko Superheroes Darwin
run: |
dfx start --background
pushd motoko/superheroes
make test
popd
motoko-superheroes-example-linux:
needs: changes
if: github.event_name == 'push' || needs.changes.outputs.sources == 'true'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Motoko Superheroes Linux
run: |
dfx start --background
pushd motoko/superheroes
make test
popd