Skip to content

Bump clap from 4.3.19 to 4.3.21 (#114) #310

Bump clap from 4.3.19 to 4.3.21 (#114)

Bump clap from 4.3.19 to 4.3.21 (#114) #310

Workflow file for this run

name: main
on:
pull_request:
push:
branches:
- master
tags-ignore:
- '*'
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup install stable
- run: make miltertest SUDO=sudo
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup install stable
- run: make lint SUDO=sudo
dry-run-release:
name: Dry-run release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- name: Build docker image
run: make docker-image DOCKER_BUILD_ARGS="--load"
- name: Test built containers
run: make container-structure-test
tag:
name: Tag release
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
needs: [lint, test, dry-run-release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
- name: Tag release
run: |
TAG="v$(cat VERSION)"
git tag ${TAG}
git push origin ${TAG} || true