Merge pull request #30 from kuhnroyal/fix/action-path #18
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: Tests | |
on: | |
push: | |
pull_request: | |
# Ensure that new pushes/updates cancel running jobs | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-config: | |
name: Config only | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Flutter | |
id: config | |
uses: ./ | |
with: | |
path: test/.fvmrc | |
- run: echo ${{ steps.config.outputs.FLUTTER_VERSION }} | |
- run: echo ${{ steps.config.outputs.FLUTTER_CHANNEL }} | |
- run: echo ${{ env.FLUTTER_VERSION }} | |
- run: echo ${{ env.FLUTTER_CHANNEL }} | |
test-setup-flutter: | |
name: Setup Flutter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Flutter | |
uses: ./ | |
with: | |
path: test/.fvmrc | |
setup: true | |
- run: flutter --version |