Skip to content

Commit

Permalink
ci: use denoland/setup-deno@v1
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 26, 2023
1 parent 102ceef commit b78fe47
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .fluentci/.fluentci/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.34
- name: Create coverage files
Expand Down
2 changes: 1 addition & 1 deletion .fluentci/.fluentci/src/github/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function generateYaml() {
uses: "actions/checkout@v2",
},
{
uses: "denolib/setup-deno@v2",
uses: "denoland/setup-deno@v1",
with: {
"deno-version": "v1.36",
},
Expand Down
8 changes: 4 additions & 4 deletions .fluentci/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.36
- name: Setup Fluent CI CLI
run: deno install -A -r https://cli.fluentci.io -n fluentci
- name: Setup Dagger
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh
sudo mv bin/dagger /usr/local/bin
dagger version
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: List Jobs
run: fluentci ls .
- name: Run Dagger Pipelines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.34
- name: Create coverage files
Expand Down
2 changes: 1 addition & 1 deletion .fluentci/example/.fluentci/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.34
- name: Create coverage files
Expand Down
2 changes: 1 addition & 1 deletion .fluentci/src/github/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function generateYaml() {
uses: "actions/checkout@v2",
},
{
uses: "denolib/setup-deno@v2",
uses: "denoland/setup-deno@v1",
with: {
"deno-version": "v1.36",
},
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.36
- name: Setup Fluent CI CLI
run: deno install -A -r https://cli.fluentci.io -n fluentci
- name: Setup Dagger
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh
sudo mv bin/dagger /usr/local/bin
dagger version
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Run Dagger Pipelines
run: dagger run fluentci . fmt lint test
- name: Upload to Codecov
Expand Down
3 changes: 3 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fixtures/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.36
- name: Setup Fluent CI CLI
Expand Down
2 changes: 1 addition & 1 deletion src/github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.36
- name: Setup Fluent CI CLI
Expand Down
2 changes: 1 addition & 1 deletion src/github/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function generateYaml(): Workflow {
uses: "actions/checkout@v2",
},
{
uses: "denolib/setup-deno@v2",
uses: "denoland/setup-deno@v1",
with: {
"deno-version": "v1.36",
},
Expand Down

0 comments on commit b78fe47

Please sign in to comment.