Skip to content

test: github actions #1

test: github actions

test: github actions #1

Workflow file for this run

name: CI
on:
push:
branches:
- main # 메인 브렌치에 브랜치 머지 시 자동으로 실행
pull_request:
branches:
- '**' # 모든 브랜치에 PR 올릴 때 실행
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go 1.23
uses: actions/setup-go@v5
with:
go-version: '1.23'
run: go version
- name: Show build number
run: echo "Build Number: ${{ github.run_number }}"

Check failure on line 24 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
- name: Show pull request number
if: ${{ github.event_name == 'pull_request' }}
run: echo "PR Number: ${{ github.event.pull_request.number }}"