diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 46cc75f3..1c493cf9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ { "name": "Node.js & TypeScript", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/typescript-node:0-18", + "image": "mcr.microsoft.com/devcontainers/typescript-node:0-20", "features": { "ghcr.io/devcontainers/features/common-utils:2": { "installOhMyZsh": true, diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d6263ab3..49cca190 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,15 +4,15 @@ on: [pull_request] env: RUNNER_TEMP: /tmp - TEST_ARTIFACT_VERSION: 0.10.1 + TEST_ARTIFACT_VERSION: 0.10.4 jobs: local_tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version-file: .node-version cache: 'npm' @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up action.yml run: cp action_ci.yml action.yml @@ -54,7 +54,7 @@ jobs: test_build_then_publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up action.yml run: cp action_ci.yml action.yml @@ -82,15 +82,15 @@ jobs: snapshot: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: install: true - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -98,7 +98,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ghcr.io/artis3n/ansible_galaxy_collection-testartifact @@ -106,7 +106,7 @@ jobs: type=raw,value=SNAPSHOT-${{ github.sha }} - name: Build and Push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . platforms: linux/amd64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73e4ca06..47b6bd97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,22 +24,22 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get the version run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: install: true - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ghcr.io/${{ env.IMAGE_NAME }} @@ -48,14 +48,14 @@ jobs: type=raw,value=${{ env.RELEASE_VERSION }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and Push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . platforms: linux/amd64, linux/arm64 diff --git a/LICENSE b/LICENSE index 405919ef..d4483b29 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Ari Kalfus +Copyright (c) 2019 Ari Kalfus Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/action.yml b/action.yml index 86f18d28..269fd5da 100644 --- a/action.yml +++ b/action.yml @@ -54,7 +54,7 @@ inputs: runs: using: 'docker' # Takes ~3 minutes to build the container so speed up consumer invocations by using pre-built image - image: docker://ghcr.io/artis3n/ansible_galaxy_collection:v2.9.0 + image: docker://ghcr.io/artis3n/ansible_galaxy_collection:v2.10.1 branding: icon: 'box' color: 'purple' diff --git a/fake_collection/galaxy.yml b/fake_collection/galaxy.yml index b56dfa40..00aacdfc 100644 --- a/fake_collection/galaxy.yml +++ b/fake_collection/galaxy.yml @@ -2,7 +2,7 @@ namespace: artis3n name: test_resource_do_not_use -version: 2.10.1 +version: 2.10.4 readme: README.md authors: - Ari Kalfus (@artis3n) diff --git a/package-lock.json b/package-lock.json index b91db9e1..458022bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ansible_galaxy_collection", - "version": "2.10.0", + "version": "2.10.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ansible_galaxy_collection", - "version": "2.10.0", + "version": "2.10.1", "license": "MIT", "dependencies": { "@actions/core": "^1.9.1", @@ -21,12 +21,12 @@ "@babel/preset-env": "^7.22.4", "@types/jest": "^29.5.2", "@types/js-yaml": "^4.0.2", - "@types/node": "^18.14.2", + "@types/node": "^20.10.4", "@types/semver": "^7.5.0", "@types/validator": "^13.7.17", "jest": "^29.5.0", "jest-circus": "^29.5.0", - "prettier": "^2.8.8", + "prettier": "^3.1.1", "ts-jest": "^29.1.0", "typescript": "^5.0.4" }, @@ -2672,9 +2672,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.19.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.3.tgz", - "integrity": "sha512-k5fggr14DwAytoA/t8rPrIz++lXK7/DqckthCmoZOKNsEbJkId4Z//BqgApXBUGrGddrigYa1oqheo/7YmW4rg==", + "version": "20.10.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz", + "integrity": "sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -5840,15 +5840,15 @@ } }, "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" diff --git a/package.json b/package.json index de9b8da2..d4ec2cef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ansible_galaxy_collection", - "version": "2.8.3", + "version": "2.10.1", "description": "Deploy a collection to Ansible Galaxy", "main": "dist/index.js", "scripts": { @@ -16,7 +16,7 @@ "docker": "docker build -t artis3n/ansible_galaxy_collection:local ." }, "engines": { - "node": "~18" + "node": "~20" }, "repository": { "type": "git", @@ -34,20 +34,20 @@ "@actions/io": "^1.1.1", "class-validator": "^0.14.0", "js-yaml": "^4.1.0", - "semver": "^7.3.7" + "semver": "^7.5.0" }, "devDependencies": { - "@babel/core": "^7.21.4", - "@babel/preset-env": "^7.21.4", - "@types/jest": "^29.5.0", + "@babel/core": "^7.21.5", + "@babel/preset-env": "^7.22.4", + "@types/jest": "^29.5.2", "@types/js-yaml": "^4.0.2", - "@types/node": "^18.14.2", - "@types/semver": "^7.3.12", - "@types/validator": "^13.7.14", + "@types/node": "^20.10.4", + "@types/semver": "^7.5.0", + "@types/validator": "^13.7.17", "jest": "^29.5.0", "jest-circus": "^29.5.0", - "prettier": "^2.3.2", - "ts-jest": "^29.0.3", - "typescript": "^4.8.3" + "prettier": "^3.1.1", + "ts-jest": "^29.1.0", + "typescript": "^5.0.4" } } diff --git a/requirements.txt b/requirements.txt index 2d56a8e4..cf073c62 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -ansible==7.5.0 -distlib==0.3.6 +ansible==9.1.0 +distlib==0.3.8