ci/cd(deps): bump actions/checkout from 4.1.1 to 4.1.2 #61
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: Tools validation | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ '*' ] | |
paths: | |
- '.github/workflows/tools.yml' | |
- 'tools/*' | |
push: | |
branches: [ '*' ] | |
paths: | |
- '.github/workflows/tools.yml' | |
- 'tools/*' | |
tags: [ '!*' ] | |
jobs: | |
check: | |
name: Checking | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4.1.2 | |
with: { fetch-depth: 0 } | |
- name: Set up Go environment | |
uses: actions/setup-go@v5.0.0 | |
with: { go-version: 1.21.x, cache-dependency-path: tools/go.sum } | |
- name: Install and check tools | |
run: make tools && [ $(ls bin/linux/*/* | wc -l) = $(grep go:gen tools/tools.go | wc -l) ] | |
- name: Check git state | |
run: make generate git-check | |
notify: | |
name: Notifying | |
needs: [ check ] | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' && (failure() || success()) | |
steps: | |
- name: Send Slack notification | |
uses: rtCamp/action-slack-notify@v2.2.1 | |
env: | |
SLACK_COLOR: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }} | |
SLACK_ICON: https://github.com/github.png?size=64 | |
SLACK_TITLE: 'π οΈ ${{ github.repository }}: ${{ github.workflow }}' | |
SLACK_USERNAME: GitHub Actions | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |