feat: Default docker-compose version to latest (#643)
* test: add expected behavior as a test case Signed-off-by: Kengo TODA <skypencil@gmail.com> * implement the necessary feature Signed-off-by: Kengo TODA <skypencil@gmail.com> * add a missing return type Signed-off-by: Kengo TODA <skypencil@gmail.com> * ci: try to run action without GITHUB_TOKEN env var Signed-off-by: Kengo TODA <skypencil@gmail.com> * input version is not required Signed-off-by: Kengo TODA <skypencil@gmail.com> * update the distributed package Signed-off-by: Kengo TODA <skypencil@gmail.com> * fix eslint warning Signed-off-by: Kengo TODA <skypencil@gmail.com> * provide GITHUB_TOKEN to create Octokit Signed-off-by: Kengo TODA <skypencil@gmail.com> * docs: update README.md Signed-off-by: Kengo TODA <skypencil@gmail.com> * docs: update README.md Signed-off-by: Kengo TODA <skypencil@gmail.com> * docs: update README.md Signed-off-by: Kengo TODA <skypencil@gmail.com> * docs: update README.md Signed-off-by: Kengo TODA <skypencil@gmail.com> * update distributions Signed-off-by: Kengo TODA <skypencil@gmail.com> Signed-off-by: Kengo TODA <skypencil@gmail.com>
This commit is contained in:
@@ -18,4 +18,10 @@ describe('install', () => {
|
||||
const result = await runCommand('docker-compose version')
|
||||
expect(result).toContain(version)
|
||||
})
|
||||
it('can install latest version', async () => {
|
||||
const commandPath = await install('latest')
|
||||
core.addPath(commandPath)
|
||||
const result = await runCommand('docker-compose version')
|
||||
expect(result).not.toBeFalsy()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user