Bump clap from 4.5.7 to 4.5.17 #459
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
tags-ignore: | |
- '*' | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup install stable | |
- run: make miltertest SUDO=sudo | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup install stable | |
- run: make lint SUDO=sudo | |
dry-run-release: | |
name: Dry-run release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: docker/setup-qemu-action@v3 | |
- uses: docker/setup-buildx-action@v3 | |
- 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@v4 | |
with: | |
token: ${{ secrets.PAT }} | |
- name: Tag release | |
run: | | |
TAG="v$(cat VERSION)" | |
git tag ${TAG} | |
git push origin ${TAG} || true |