Skip to content

Commit

Permalink
chore: add missing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Nov 6, 2023
1 parent dd1796f commit cdd9f9f
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/git.tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.ref }}-${{ github.event_name }}
jobs:
build:
uses: ./.github/workflows/workflow.build.yaml
secrets: inherit
with:
name: git

version_test:
container: "docker://ghcr.io/socialgouv/docker/git:sha-${{ github.sha }}"
name: Test files
needs: [build]
runs-on: ubuntu-latest
steps:
- run: git --version
name: "git"
on:
push:
tags:
- "git@**"
30 changes: 30 additions & 0 deletions .github/workflows/git.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.ref }}-${{ github.event_name }}
jobs:
build:
uses: ./.github/workflows/workflow.build.yaml
secrets: inherit
with:
name: git

version_test:
container: "docker://ghcr.io/socialgouv/docker/git:sha-${{ github.sha }}"
name: Test files
needs: [build]
runs-on: ubuntu-latest
steps:
- run: git --version
name: "git"
on:
push:
branches:
- "**"
- "!master"
- "!alpha"
- "!beta"
paths:
- "git/**"
- ".github/workflows/git.yaml"
- ".github/workflows/git.tag.yaml"
- ".github/workflows/workflow.build.yaml"

0 comments on commit cdd9f9f

Please sign in to comment.