Skip to content

Commit

Permalink
Create test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
KevDevSha authored Jul 19, 2024
1 parent 3cb0ad8 commit a0bf591
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

Check failure on line 1 in .github/workflows/test.yaml

View workflow job for this annotation

GitHub Actions / code-quality (3.10, [dev])

1:1 [empty-lines] too many blank lines (1 > 0)
name: test

on:
pull_request: {} #<--- test

Check failure on line 5 in .github/workflows/test.yaml

View workflow job for this annotation

GitHub Actions / code-quality (3.10, [dev])

5:20 [comments] too few spaces before comment

Check failure on line 5 in .github/workflows/test.yaml

View workflow job for this annotation

GitHub Actions / code-quality (3.10, [dev])

5:21 [comments] missing starting space in comment
push:
tags:
- "v*"
workflow_dispatch:
permissions:
packages: write
contents: read
attestations: write
id-token: write
jobs:

get-latest-releases:
runs-on: linux-ubuntu-latest
steps:
- name: Fetch latest release for Foundry
id: foundry_release
uses: actions/github-script@v6
with:
script: |
const response = await github.rest.repos.getLatestRelease({
owner: 'mosaicml',
repo: 'llm-foundry',
});
return response.data.tag_name;

0 comments on commit a0bf591

Please sign in to comment.