Skip to content

chore(deps): bump ansible from 9.2.0 to 10.1.0 in the all group across 1 directory #570

chore(deps): bump ansible from 9.2.0 to 10.1.0 in the all group across 1 directory

chore(deps): bump ansible from 9.2.0 to 10.1.0 in the all group across 1 directory #570

Workflow file for this run

name: Testing the Action
on: [pull_request]
env:
RUNNER_TEMP: /tmp
TEST_ARTIFACT_VERSION: 0.10.10
jobs:
local_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'npm'
check-latest: true
- name: Install Dependencies
run: npm ci
- name: Check Format
run: npm run format-check
- name: Run tests
run: npm test
test_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up action.yml
run: cp action_ci.yml action.yml
- name: Test the action
uses: ./
with:
api_key: '${{ secrets.GALAXY_API_KEY }}'
# Fake location that's a small amount of content
collection_dir: 'fake_collection'
- name: Test the action with a custom version
uses: ./
with:
api_key: '${{ secrets.GALAXY_API_KEY }}'
collection_dir: 'fake_collection'
# Custom version
galaxy_version: '${{ env.TEST_ARTIFACT_VERSION }}-test'
test_build_then_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up action.yml
run: cp action_ci.yml action.yml
- name: Test the action - only build
uses: ./
with:
api_key: '${{ secrets.GALAXY_API_KEY }}'
collection_dir: 'fake_collection'
# Different from above version
galaxy_version: '${{ env.TEST_ARTIFACT_VERSION }}-build'
build: true
publish: false
- name: Test the action - only publish
uses: ./
with:
api_key: '${{ secrets.GALAXY_API_KEY }}'
collection_dir: 'fake_collection'
# Should match version above
galaxy_version: '${{ env.TEST_ARTIFACT_VERSION }}-build'
build: false
publish: true
snapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/artis3n/ansible_galaxy_collection-testartifact
tags: |
type=raw,value=SNAPSHOT-${{ github.sha }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
file: ./Dockerfile
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max