Fix newline symbol and rc version errors #260
Workflow file for this run
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: test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
defaults: | |
run: | |
shell: bash | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.TEST_API_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create dvm directory | |
run: mkdir -p ~/.dvm | |
- name: Read version caches | |
id: read_version_caches | |
uses: actions/cache@v4 | |
with: | |
key: ${{ runner.os }}-version-caches | |
path: ~/.dvm/cache | |
- name: Run test cases | |
run: | | |
./test/test_install_version.sh | |
./test/test_install_version_by_prefix.sh | |
./test/test_dvmrc_file.sh | |
./test/test_alias.sh | |
./test/test_uninstall_version.sh | |
./test/test_ls_remote.sh | |
- name: Save version caches | |
id: store_version_caches | |
uses: actions/cache@v4 | |
with: | |
key: ${{ runner.os }}-version-caches | |
path: ~/.dvm/cache |