Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ jobs:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Set config to CI
shell: bash
run: |
cat >> "local.bazelrc" <<EOF
common --config=ci
EOF
- uses: cgrindel/gha_set_up_bazel@v1
with:
repo_name: rules_spm
repo_name: swift_bazel
- uses: ./.github/actions/build_and_test

ubuntu_build:
Expand All @@ -41,9 +47,15 @@ jobs:
# Need to expose the PATH so that the Swift toolchain can be found
build --action_env=PATH
EOF
- name: Set config to CI
shell: bash
run: |
cat >> "local.bazelrc" <<EOF
common --config=ci
EOF
- uses: cgrindel/gha_set_up_bazel@v1
with:
repo_name: rules_spm
repo_name: swift_bazel
- uses: ./.github/actions/build_and_test

all_ci_tests:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/bazelbuild/bazel-gazelle v0.28.0
github.com/bazelbuild/buildtools v0.0.0-20221110131218-762712d8ce3f
github.com/bazelbuild/buildtools v0.0.0-20230103153053-669c4920306e
github.com/stretchr/testify v1.8.1
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/bazelbuild/bazel-gazelle v0.28.0 h1:sPdMMujcMt5jeSLGFko5yF1XBD5MDqm6YeFoXx9ORm4=
github.com/bazelbuild/bazel-gazelle v0.28.0/go.mod h1:5Qer6FCMBeotA8eQYJEPxn2eAbHmTApPxyd7aD4A0S8=
github.com/bazelbuild/buildtools v0.0.0-20221110131218-762712d8ce3f h1:pkH5ds19YGNyq6CaDwioradmMA9XCMDhEN2jCgI8OF0=
github.com/bazelbuild/buildtools v0.0.0-20221110131218-762712d8ce3f/go.mod h1:689QdV3hBP7Vo9dJMmzhoYIyo/9iMhEmHkJcnaPRCbo=
github.com/bazelbuild/buildtools v0.0.0-20230103153053-669c4920306e h1:vtcpnkSZF7J3/YWAbaQWSQyFB+O4d7EUjuE9EBUrf/s=
github.com/bazelbuild/buildtools v0.0.0-20230103153053-669c4920306e/go.mod h1:689QdV3hBP7Vo9dJMmzhoYIyo/9iMhEmHkJcnaPRCbo=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
Expand Down
4 changes: 2 additions & 2 deletions go_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def swift_bazel_go_dependencies():
build_external = "external",
build_naming_convention = "go_default_library",
importpath = "github.com/bazelbuild/buildtools",
sum = "h1:pkH5ds19YGNyq6CaDwioradmMA9XCMDhEN2jCgI8OF0=",
version = "v0.0.0-20221110131218-762712d8ce3f",
sum = "h1:vtcpnkSZF7J3/YWAbaQWSQyFB+O4d7EUjuE9EBUrf/s=",
version = "v0.0.0-20230103153053-669c4920306e",
)
go_repository(
name = "com_github_bazelbuild_rules_go",
Expand Down