Skip to content

Commit

Permalink
ci: tweak various documentation and build workflow settings
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed Oct 12, 2021
1 parent abd4385 commit 730ea60
Show file tree
Hide file tree
Showing 6 changed files with 177 additions and 151 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: bazel build //...
run: |
nix-shell --argstr ghcVersion '${{ matrix.ghc }}' --run \
'bazel build //... --build_tags_filter=ci'
'bazel build //... --build_tag_filters=ci'
- name: bazel build //gen
if: ${{ matrix.ghc == '8107' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ jobs:
- name: bazel build //docs
run: |
nix-shell --argstr ghcVersion '${{ matrix.ghc }}' --run \
'bazel build //docs'
'bazel build //docs:site'
- name: Push to GitHub pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: bazel-bin/docs/docs
folder: bazel-bin/docs/site
8 changes: 8 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ versioned_http_archive(
version = "0.2.0",
)

versioned_http_archive(
name = "rules_pkg",
strip_prefix = "rules_pkg-{version}/pkg",
url = "https://github.com/bazelbuild/rules_pkg/archive/{version}.tar.gz",
version = "8d542763a3959db79175404758f46c7f3f385fa5",
sha256 = "dd13c5581146da6abdee49a1a2605cd1dd8fb39bea9a870e0089aa4066b260b6"
)

versioned_http_archive(
name = "io_tweag_rules_nixpkgs",
sha256 = "33fd540d0283cf9956d0a5a640acb1430c81539a84069114beaf9640c96d221a",
Expand Down
2 changes: 1 addition & 1 deletion config/templates/lens.ede
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ import {{ libraryNamespace }}.{{ operation.value.name }}
{% case shape.value.type %}
{% when "product" %}
import {{ libraryNamespace }}.Types.{{ shape.value.name }}
{% endcase %}
{% endcase %}
{% endfor %}

Loading

0 comments on commit 730ea60

Please sign in to comment.