Skip to content

Commit

Permalink
install rebar3
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 22, 2024
1 parent 68ba1e9 commit 4e06dfa
Show file tree
Hide file tree
Showing 66 changed files with 41 additions and 1,013 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ jobs:
wasm: true
pipeline: deno
args: |
fmt
test
coverage
fmts
- name: Run Dagger Pipelines
run: |
dagger -m github.com/fluent-ci-templates/gleam-pipeline functions
- name: Upload Coverage
run: fluentci run --wasm codecov upload
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
#- name: Upload Coverage
# run: fluentci run --wasm codecov upload
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
publish:
needs: tests
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.41
deno-version: v1.45
- name: Setup Fluent CI CLI
uses: fluentci-io/setup-fluentci@v5
- name: Run Wasm Plugin
run: fluentci run --wasm . test
working-directory: example
- name: Run Dagger Pipelines
run: dagger run deno run -A ../src/dagger/runner.ts check format test build
run: dagger run deno run -A ../src/runner.ts check format test build
working-directory: example
2 changes: 1 addition & 1 deletion .github/workflows/zenith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- name: Setup Dagger Zenith
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.11.7 sh
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.12.5 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Run Dagger Pipelines
Expand Down
2 changes: 1 addition & 1 deletion dagger.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gleam",
"sdk": "github.com/fluentci-io/daggerverse/deno-sdk@main",
"version": "v0.8.0",
"version": "v0.8.1",
"description": "",
"author": "Tsiry Sandratraina",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentci/gleam",
"version": "0.7.0",
"version": "0.8.1",
"exports": "./mod.ts",
"importMap": "import_map.json",
"tasks": {
Expand Down
2 changes: 1 addition & 1 deletion example/.fluentci/mod.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "./src/dagger/index.ts";
export * from "./src/mod.ts";
2 changes: 1 addition & 1 deletion example/.fluentci/plugin/Cargo.lock

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

2 changes: 1 addition & 1 deletion example/.fluentci/plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "gleam"
version = "0.8.0"
version = "0.8.1"

[lib]
crate-type = ["cdylib"]
Expand Down
8 changes: 4 additions & 4 deletions example/.fluentci/plugin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub fn check(args: String) -> FnResult<String> {
let stdout = dag()
.pipeline("check")?
.pkgx()?
.with_packages(vec!["gleam", "escript"])?
.with_packages(vec!["gleam", "escript", "rebar3"])?
.with_exec(vec!["gleam", "deps", "download"])?
.with_exec(vec!["gleam", "check", &args])?
.stdout()?;
Expand All @@ -18,7 +18,7 @@ pub fn format(args: String) -> FnResult<String> {
let stdout = dag()
.pipeline("format")?
.pkgx()?
.with_packages(vec!["gleam", "escript"])?
.with_packages(vec!["gleam", "escript", "rebar3"])?
.with_exec(vec!["gleam", "deps", "download"])?
.with_exec(vec!["gleam", "format", "--check", &args])?
.stdout()?;
Expand All @@ -30,7 +30,7 @@ pub fn test(args: String) -> FnResult<String> {
let stdout = dag()
.pipeline("test")?
.pkgx()?
.with_packages(vec!["gleam", "escript"])?
.with_packages(vec!["gleam", "escript", "rebar3"])?
.with_exec(vec!["gleam", "deps", "download"])?
.with_exec(vec!["gleam", "test", &args])?
.stdout()?;
Expand All @@ -42,7 +42,7 @@ pub fn build(args: String) -> FnResult<String> {
let stdout = dag()
.pipeline("build")?
.pkgx()?
.with_packages(vec!["gleam", "escript"])?
.with_packages(vec!["gleam", "escript", "rebar3"])?
.with_exec(vec!["gleam", "deps", "download"])?
.with_exec(vec!["gleam", "build", &args])?
.stdout()?;
Expand Down
39 changes: 0 additions & 39 deletions example/.fluentci/src/aws/README.md

This file was deleted.

28 changes: 0 additions & 28 deletions example/.fluentci/src/aws/config.ts

This file was deleted.

9 changes: 0 additions & 9 deletions example/.fluentci/src/aws/config_test.ts

This file was deleted.

3 changes: 0 additions & 3 deletions example/.fluentci/src/aws/init.ts

This file was deleted.

42 changes: 0 additions & 42 deletions example/.fluentci/src/azure/README.md

This file was deleted.

45 changes: 0 additions & 45 deletions example/.fluentci/src/azure/config.ts

This file was deleted.

9 changes: 0 additions & 9 deletions example/.fluentci/src/azure/config_test.ts

This file was deleted.

3 changes: 0 additions & 3 deletions example/.fluentci/src/azure/init.ts

This file was deleted.

47 changes: 0 additions & 47 deletions example/.fluentci/src/circleci/README.md

This file was deleted.

41 changes: 0 additions & 41 deletions example/.fluentci/src/circleci/config.ts

This file was deleted.

Loading

0 comments on commit 4e06dfa

Please sign in to comment.