fix(build): add checkout actoin #183
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| plugin_test: | |
| name: asdf plugin test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| container: | |
| - alpine:latest | |
| - ubuntu:latest | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ${{ matrix.container }} | |
| steps: | |
| - name: Install dependencies | |
| run: | | |
| if [ -f /etc/alpine-release ]; then | |
| apk add --no-cache curl bash git | |
| elif [ -f /etc/debian_version ]; then | |
| apt-get update && apt-get install -y curl bash git | |
| fi | |
| - uses: asdf-vm/actions/plugin-test@v4 | |
| with: | |
| command: redis-cli --version |