Skip to content

This is driving me nuts. #3

This is driving me nuts.

This is driving me nuts. #3

Workflow file for this run

# .github/workflows/version.yml
name: Git Version
on:
push:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }} # checkout the correct branch name
fetch-depth: 0 # fetch the whole repo history
runs:
using: 'node21'
steps:
# Reference a specific commit
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
# Reference the major version of a release
- uses: actions/checkout@v4
# Reference a specific version
- uses: actions/[email protected]
# Reference a branch
- uses: actions/checkout@main
- name: Git Version

Check failure on line 31 in .github/workflows/version.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/version.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
id: version
uses: codacy/[email protected]
- name: Cache
uses: actions/[email protected]
- name: Use the version
run: |
echo ${{ steps.version.outputs.version }}
- name: Use the previous version
run: |
echo ${{ steps.version.outputs.previous-version }}