Bump the go-dependencies group across 1 directory with 11 updates #475
Workflow file for this run
This file contains hidden or 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: Run tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - v* | |
| pull_request: | |
| branches: | |
| - master | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Load .env file | |
| uses: xom9ikk/dotenv@v2.3.0 | |
| with: | |
| load-mode: strict | |
| - name: Setup Go ${{ env.GO_VERSION }} | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| cache-dependency-path: | | |
| go.sum | |
| tools.sum | |
| - name: Use Exiftool | |
| uses: woss/exiftool-action@v12.92 | |
| if: matrix.os != 'windows-latest' | |
| - uses: MinoruSekine/setup-scoop@v4.0.1 | |
| with: | |
| apps: exiftool | |
| if: matrix.os == 'windows-latest' | |
| - name: Install Just | |
| uses: taiki-e/install-action@just | |
| - name: Run tests | |
| run: just test | |
| - name: Run Go Vulnerability Check | |
| run: just vulncheck | |
| trigger_stable_release: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| if: github.ref_type == 'tag' | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Trigger repository_dispatch event | |
| run: | | |
| curl -X POST \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \ | |
| https://api.github.com/repos/ayoisaiah/f2/dispatches \ | |
| -d '{"event_type": "release_stable", "client_payload":{"tag": "${{ github.ref }}", "tag_name": "${{ github.ref_name }}" }}' | |