Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Oct 30, 2024
1 parent cde10b1 commit 1e94f29
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/add_issues_to_devx_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Add Issues To DevEx Project

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/onflow/projects/13
github-token: ${{ secrets.GH_ACTION_FOR_PROJECTS }}
30 changes: 30 additions & 0 deletions .github/workflows/cadence_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on: pull_request

jobs:
tests:
name: Flow CLI Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20.x"
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install Flow CLI
run: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
- name: Flow CLI Version
run: flow version
- name: Update PATH
run: echo "/root/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: flow deps install
- name: Run tests
run: make ci
File renamed without changes.
File renamed without changes.

0 comments on commit 1e94f29

Please sign in to comment.