feat: add FileUploadComponent for file uploads in modals #3049
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: Go | |
on: | |
pull_request: | |
paths: | |
- '**/*.go' | |
- '**/go.mod' | |
- '**/go.sum' | |
- '.github/workflows/go.yml' | |
push: | |
paths: | |
- '**/*.go' | |
- '**/go.mod' | |
- '**/go.sum' | |
- '.github/workflows/go.yml' | |
# The if of each job prevents running the workflow if it's from a pull request from the directory the pull request is targeted towards | |
# as it will already run on 'push' | |
jobs: | |
build: | |
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.24 | |
- uses: actions/checkout@v4 | |
- name: go build | |
run: go build -v ./... | |
test: | |
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.24 | |
- uses: actions/checkout@v4 | |
- name: go test | |
run: go test -v ./... | |
golangci: | |
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.24 | |
- uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest |