diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9567855..16a7fed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,10 +14,8 @@ jobs: validate: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 - run: npm clean-install - run: npm run format-check - run: npm run build @@ -33,7 +31,7 @@ jobs: environment: dhaka runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: setup cf cli uses: ./ with: diff --git a/README.md b/README.md index 7a1e79b..15c20b5 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ See [action.yml](action.yml) for complete action definition. ```yaml steps: -- uses: actions/checkout@v4 -- uses: vchrisb/setup-cf@v2 +- uses: actions/checkout@v5 +- uses: vchrisb/setup-cf@v3 with: api: ${{ secrets.CF_API }} username: ${{ secrets.CF_USERNAME }} @@ -60,7 +60,7 @@ steps: The simplest authentication method using username and password: ```yaml -- uses: vchrisb/setup-cf@v2 +- uses: vchrisb/setup-cf@v3 with: api: ${{ secrets.CF_API }} grant_type: password @@ -84,8 +84,8 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: vchrisb/setup-cf@v2 + - uses: actions/checkout@v5 + - uses: vchrisb/setup-cf@v3 with: api: ${{ secrets.CF_API }} grant_type: jwt-bearer @@ -109,8 +109,8 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: vchrisb/setup-cf@v2 + - uses: actions/checkout@v5 + - uses: vchrisb/setup-cf@v3 with: api: ${{ secrets.CF_API }} client_id: ${{ secrets.CF_CLIENT_ID }} @@ -136,8 +136,8 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: vchrisb/setup-cf@v2 + - uses: actions/checkout@v5 + - uses: vchrisb/setup-cf@v3 with: api: ${{ secrets.CF_API }} client_id: ${{ secrets.CF_CLIENT_ID }} diff --git a/action.yaml b/action.yaml index a9d57ee..d3e8672 100644 --- a/action.yaml +++ b/action.yaml @@ -46,7 +46,7 @@ inputs: version: description: "cf cli version" required: true - default: "8.14.1" + default: "8.16.0" runs: using: "node20" main: "dist/index.js" diff --git a/package-lock.json b/package-lock.json index fe5613d..39390fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "setup-cf", - "version": "2.0.2", + "version": "3.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "setup-cf", - "version": "2.0.2", + "version": "3.0.0", "license": "MIT", "dependencies": { "@actions/core": "^1.11.1", @@ -15,13 +15,13 @@ "jsonwebtoken": "^9.0.2" }, "devDependencies": { - "@types/node": "^22.15.34", + "@types/node": "^24.1.0", "@vercel/ncc": "^0.38.3", "prettier": "^3.6.2", "typescript": "^5.8.3" }, "engines": { - "node": ">=20.0.0 <21.0.0" + "node": ">=24.0.0 <25.0.0" } }, "node_modules/@actions/core": { @@ -82,13 +82,13 @@ } }, "node_modules/@types/node": { - "version": "22.15.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.34.tgz", - "integrity": "sha512-8Y6E5WUupYy1Dd0II32BsWAx5MWdcnRd8L84Oys3veg1YrYtNtzgO4CFhiBg6MDSjk7Ay36HYOnU7/tuOzIzcw==", + "version": "24.1.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.1.0.tgz", + "integrity": "sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~6.21.0" + "undici-types": "~7.8.0" } }, "node_modules/@vercel/ncc": { @@ -300,9 +300,9 @@ } }, "node_modules/undici-types": { - "version": "6.21.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", - "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz", + "integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==", "dev": true, "license": "MIT" } diff --git a/package.json b/package.json index a7c781c..e497c92 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-cf", - "version": "2.0.3", + "version": "3.0.0", "description": "Github action to setup Cloud Foundry cli", "main": "src/index.ts", "scripts": { @@ -19,12 +19,12 @@ "jsonwebtoken": "^9.0.2" }, "devDependencies": { - "@types/node": "^22.15.34", + "@types/node": "^24.1.0", "@vercel/ncc": "^0.38.3", "prettier": "^3.6.2", "typescript": "^5.8.3" }, "engines": { - "node": ">=20.0.0 <21.0.0" + "node": ">=24.0.0 <25.0.0" } }